home *** CD-ROM | disk | FTP | other *** search
/ Kit PC World De Ampliacion De Windows 95 / Kit PC World de ampliacion de Windows 95.iso / internet / sweeper / include / winerror.h < prev    next >
C/C++ Source or Header  |  1995-12-04  |  175KB  |  8,868 lines

  1. /************************************************************************
  2. *                                                                       *
  3. *   winerror.h --  error code definitions for the Win32 API functions   *  
  4. *                                                                       *
  5. *   Copyright (c) 1991-1995, Microsoft Corp. All rights reserved.       *
  6. *                                                                       *
  7. ************************************************************************/
  8.  
  9. #ifndef _WINERROR_
  10. #define _WINERROR_
  11.  
  12.  
  13. //
  14. //  Values are 32 bit values layed out as follows:
  15. //
  16. //   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  17. //   1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
  18. //  +---+-+-+-----------------------+-------------------------------+
  19. //  |Sev|C|R|     Facility          |               Code            |
  20. //  +---+-+-+-----------------------+-------------------------------+
  21. //
  22. //  where
  23. //
  24. //      Sev - is the severity code
  25. //
  26. //          00 - Success
  27. //          01 - Informational
  28. //          10 - Warning
  29. //          11 - Error
  30. //
  31. //      C - is the Customer code flag
  32. //
  33. //      R - is a reserved bit
  34. //
  35. //      Facility - is the facility code
  36. //
  37. //      Code - is the facility's status code
  38. //
  39. //
  40. // Define the facility codes
  41. //
  42. #define FACILITY_WINDOWS                 8
  43. #define FACILITY_STORAGE                 3
  44. #define FACILITY_RPC                     1
  45. #define FACILITY_WIN32                   7
  46. #define FACILITY_CONTROL                 10
  47. #define FACILITY_NULL                    0
  48. #define FACILITY_ITF                     4
  49. #define FACILITY_DISPATCH                2
  50.  
  51.  
  52. //
  53. // Define the severity codes
  54. //
  55.  
  56.  
  57. //
  58. // MessageId: ERROR_SUCCESS
  59. //
  60. // MessageText:
  61. //
  62. //  The operation completed successfully.
  63. //
  64. #define ERROR_SUCCESS                    0L
  65.  
  66. #define NO_ERROR 0L                                                 // dderror
  67.  
  68. //
  69. // MessageId: ERROR_INVALID_FUNCTION
  70. //
  71. // MessageText:
  72. //
  73. //  Incorrect function.
  74. //
  75. #define ERROR_INVALID_FUNCTION           1L    // dderror
  76.  
  77. //
  78. // MessageId: ERROR_FILE_NOT_FOUND
  79. //
  80. // MessageText:
  81. //
  82. //  The system cannot find the file specified.
  83. //
  84. #define ERROR_FILE_NOT_FOUND             2L
  85.  
  86. //
  87. // MessageId: ERROR_PATH_NOT_FOUND
  88. //
  89. // MessageText:
  90. //
  91. //  The system cannot find the path specified.
  92. //
  93. #define ERROR_PATH_NOT_FOUND             3L
  94.  
  95. //
  96. // MessageId: ERROR_TOO_MANY_OPEN_FILES
  97. //
  98. // MessageText:
  99. //
  100. //  The system cannot open the file.
  101. //
  102. #define ERROR_TOO_MANY_OPEN_FILES        4L
  103.  
  104. //
  105. // MessageId: ERROR_ACCESS_DENIED
  106. //
  107. // MessageText:
  108. //
  109. //  Access is denied.
  110. //
  111. #define ERROR_ACCESS_DENIED              5L
  112.  
  113. //
  114. // MessageId: ERROR_INVALID_HANDLE
  115. //
  116. // MessageText:
  117. //
  118. //  The handle is invalid.
  119. //
  120. #define ERROR_INVALID_HANDLE             6L
  121.  
  122. //
  123. // MessageId: ERROR_ARENA_TRASHED
  124. //
  125. // MessageText:
  126. //
  127. //  The storage control blocks were destroyed.
  128. //
  129. #define ERROR_ARENA_TRASHED              7L
  130.  
  131. //
  132. // MessageId: ERROR_NOT_ENOUGH_MEMORY
  133. //
  134. // MessageText:
  135. //
  136. //  Not enough storage is available to process this command.
  137. //
  138. #define ERROR_NOT_ENOUGH_MEMORY          8L    // dderror
  139.  
  140. //
  141. // MessageId: ERROR_INVALID_BLOCK
  142. //
  143. // MessageText:
  144. //
  145. //  The storage control block address is invalid.
  146. //
  147. #define ERROR_INVALID_BLOCK              9L
  148.  
  149. //
  150. // MessageId: ERROR_BAD_ENVIRONMENT
  151. //
  152. // MessageText:
  153. //
  154. //  The environment is incorrect.
  155. //
  156. #define ERROR_BAD_ENVIRONMENT            10L
  157.  
  158. //
  159. // MessageId: ERROR_BAD_FORMAT
  160. //
  161. // MessageText:
  162. //
  163. //  An attempt was made to load a program with an
  164. //  incorrect format.
  165. //
  166. #define ERROR_BAD_FORMAT                 11L
  167.  
  168. //
  169. // MessageId: ERROR_INVALID_ACCESS
  170. //
  171. // MessageText:
  172. //
  173. //  The access code is invalid.
  174. //
  175. #define ERROR_INVALID_ACCESS             12L
  176.  
  177. //
  178. // MessageId: ERROR_INVALID_DATA
  179. //
  180. // MessageText:
  181. //
  182. //  The data is invalid.
  183. //
  184. #define ERROR_INVALID_DATA               13L
  185.  
  186. //
  187. // MessageId: ERROR_OUTOFMEMORY
  188. //
  189. // MessageText:
  190. //
  191. //  Not enough storage is available to complete this operation.
  192. //
  193. #define ERROR_OUTOFMEMORY                14L
  194.  
  195. //
  196. // MessageId: ERROR_INVALID_DRIVE
  197. //
  198. // MessageText:
  199. //
  200. //  The system cannot find the drive specified.
  201. //
  202. #define ERROR_INVALID_DRIVE              15L
  203.  
  204. //
  205. // MessageId: ERROR_CURRENT_DIRECTORY
  206. //
  207. // MessageText:
  208. //
  209. //  The directory cannot be removed.
  210. //
  211. #define ERROR_CURRENT_DIRECTORY          16L
  212.  
  213. //
  214. // MessageId: ERROR_NOT_SAME_DEVICE
  215. //
  216. // MessageText:
  217. //
  218. //  The system cannot move the file
  219. //  to a different disk drive.
  220. //
  221. #define ERROR_NOT_SAME_DEVICE            17L
  222.  
  223. //
  224. // MessageId: ERROR_NO_MORE_FILES
  225. //
  226. // MessageText:
  227. //
  228. //  There are no more files.
  229. //
  230. #define ERROR_NO_MORE_FILES              18L
  231.  
  232. //
  233. // MessageId: ERROR_WRITE_PROTECT
  234. //
  235. // MessageText:
  236. //
  237. //  The media is write protected.
  238. //
  239. #define ERROR_WRITE_PROTECT              19L
  240.  
  241. //
  242. // MessageId: ERROR_BAD_UNIT
  243. //
  244. // MessageText:
  245. //
  246. //  The system cannot find the device specified.
  247. //
  248. #define ERROR_BAD_UNIT                   20L
  249.  
  250. //
  251. // MessageId: ERROR_NOT_READY
  252. //
  253. // MessageText:
  254. //
  255. //  The device is not ready.
  256. //
  257. #define ERROR_NOT_READY                  21L
  258.  
  259. //
  260. // MessageId: ERROR_BAD_COMMAND
  261. //
  262. // MessageText:
  263. //
  264. //  The device does not recognize the command.
  265. //
  266. #define ERROR_BAD_COMMAND                22L
  267.  
  268. //
  269. // MessageId: ERROR_CRC
  270. //
  271. // MessageText:
  272. //
  273. //  Data error (cyclic redundancy check)
  274. //
  275. #define ERROR_CRC                        23L
  276.  
  277. //
  278. // MessageId: ERROR_BAD_LENGTH
  279. //
  280. // MessageText:
  281. //
  282. //  The program issued a command but the
  283. //  command length is incorrect.
  284. //
  285. #define ERROR_BAD_LENGTH                 24L
  286.  
  287. //
  288. // MessageId: ERROR_SEEK
  289. //
  290. // MessageText:
  291. //
  292. //  The drive cannot locate a specific
  293. //  area or track on the disk.
  294. //
  295. #define ERROR_SEEK                       25L
  296.  
  297. //
  298. // MessageId: ERROR_NOT_DOS_DISK
  299. //
  300. // MessageText:
  301. //
  302. //  The specified disk or diskette cannot be accessed.
  303. //
  304. #define ERROR_NOT_DOS_DISK               26L
  305.  
  306. //
  307. // MessageId: ERROR_SECTOR_NOT_FOUND
  308. //
  309. // MessageText:
  310. //
  311. //  The drive cannot find the sector requested.
  312. //
  313. #define ERROR_SECTOR_NOT_FOUND           27L
  314.  
  315. //
  316. // MessageId: ERROR_OUT_OF_PAPER
  317. //
  318. // MessageText:
  319. //
  320. //  The printer is out of paper.
  321. //
  322. #define ERROR_OUT_OF_PAPER               28L
  323.  
  324. //
  325. // MessageId: ERROR_WRITE_FAULT
  326. //
  327. // MessageText:
  328. //
  329. //  The system cannot write to the specified device.
  330. //
  331. #define ERROR_WRITE_FAULT                29L
  332.  
  333. //
  334. // MessageId: ERROR_READ_FAULT
  335. //
  336. // MessageText:
  337. //
  338. //  The system cannot read from the specified device.
  339. //
  340. #define ERROR_READ_FAULT                 30L
  341.  
  342. //
  343. // MessageId: ERROR_GEN_FAILURE
  344. //
  345. // MessageText:
  346. //
  347. //  A device attached to the system is not functioning.
  348. //
  349. #define ERROR_GEN_FAILURE                31L
  350.  
  351. //
  352. // MessageId: ERROR_SHARING_VIOLATION
  353. //
  354. // MessageText:
  355. //
  356. //  The process cannot access the file because
  357. //  it is being used by another process.
  358. //
  359. #define ERROR_SHARING_VIOLATION          32L
  360.  
  361. //
  362. // MessageId: ERROR_LOCK_VIOLATION
  363. //
  364. // MessageText:
  365. //
  366. //  The process cannot access the file because
  367. //  another process has locked a portion of the file.
  368. //
  369. #define ERROR_LOCK_VIOLATION             33L
  370.  
  371. //
  372. // MessageId: ERROR_WRONG_DISK
  373. //
  374. // MessageText:
  375. //
  376. //  The wrong diskette is in the drive.
  377. //  Insert %2 (Volume Serial Number: %3)
  378. //  into drive %1.
  379. //
  380. #define ERROR_WRONG_DISK                 34L
  381.  
  382. //
  383. // MessageId: ERROR_SHARING_BUFFER_EXCEEDED
  384. //
  385. // MessageText:
  386. //
  387. //  Too many files opened for sharing.
  388. //
  389. #define ERROR_SHARING_BUFFER_EXCEEDED    36L
  390.  
  391. //
  392. // MessageId: ERROR_HANDLE_EOF
  393. //
  394. // MessageText:
  395. //
  396. //  Reached end of file.
  397. //
  398. #define ERROR_HANDLE_EOF                 38L
  399.  
  400. //
  401. // MessageId: ERROR_HANDLE_DISK_FULL
  402. //
  403. // MessageText:
  404. //
  405. //  The disk is full.
  406. //
  407. #define ERROR_HANDLE_DISK_FULL           39L
  408.  
  409. //
  410. // MessageId: ERROR_NOT_SUPPORTED
  411. //
  412. // MessageText:
  413. //
  414. //  The network request is not supported.
  415. //
  416. #define ERROR_NOT_SUPPORTED              50L
  417.  
  418. //
  419. // MessageId: ERROR_REM_NOT_LIST
  420. //
  421. // MessageText:
  422. //
  423. //  The remote computer is not available.
  424. //
  425. #define ERROR_REM_NOT_LIST               51L
  426.  
  427. //
  428. // MessageId: ERROR_DUP_NAME
  429. //
  430. // MessageText:
  431. //
  432. //  A duplicate name exists on the network.
  433. //
  434. #define ERROR_DUP_NAME                   52L
  435.  
  436. //
  437. // MessageId: ERROR_BAD_NETPATH
  438. //
  439. // MessageText:
  440. //
  441. //  The network path was not found.
  442. //
  443. #define ERROR_BAD_NETPATH                53L
  444.  
  445. //
  446. // MessageId: ERROR_NETWORK_BUSY
  447. //
  448. // MessageText:
  449. //
  450. //  The network is busy.
  451. //
  452. #define ERROR_NETWORK_BUSY               54L
  453.  
  454. //
  455. // MessageId: ERROR_DEV_NOT_EXIST
  456. //
  457. // MessageText:
  458. //
  459. //  The specified network resource or device is no longer
  460. //  available.
  461. //
  462. #define ERROR_DEV_NOT_EXIST              55L    // dderror
  463.  
  464. //
  465. // MessageId: ERROR_TOO_MANY_CMDS
  466. //
  467. // MessageText:
  468. //
  469. //  The network BIOS command limit has been reached.
  470. //
  471. #define ERROR_TOO_MANY_CMDS              56L
  472.  
  473. //
  474. // MessageId: ERROR_ADAP_HDW_ERR
  475. //
  476. // MessageText:
  477. //
  478. //  A network adapter hardware error occurred.
  479. //
  480. #define ERROR_ADAP_HDW_ERR               57L
  481.  
  482. //
  483. // MessageId: ERROR_BAD_NET_RESP
  484. //
  485. // MessageText:
  486. //
  487. //  The specified server cannot perform the requested
  488. //  operation.
  489. //
  490. #define ERROR_BAD_NET_RESP               58L
  491.  
  492. //
  493. // MessageId: ERROR_UNEXP_NET_ERR
  494. //
  495. // MessageText:
  496. //
  497. //  An unexpected network error occurred.
  498. //
  499. #define ERROR_UNEXP_NET_ERR              59L
  500.  
  501. //
  502. // MessageId: ERROR_BAD_REM_ADAP
  503. //
  504. // MessageText:
  505. //
  506. //  The remote adapter is not compatible.
  507. //
  508. #define ERROR_BAD_REM_ADAP               60L
  509.  
  510. //
  511. // MessageId: ERROR_PRINTQ_FULL
  512. //
  513. // MessageText:
  514. //
  515. //  The printer queue is full.
  516. //
  517. #define ERROR_PRINTQ_FULL                61L
  518.  
  519. //
  520. // MessageId: ERROR_NO_SPOOL_SPACE
  521. //
  522. // MessageText:
  523. //
  524. //  Space to store the file waiting to be printed is
  525. //  not available on the server.
  526. //
  527. #define ERROR_NO_SPOOL_SPACE             62L
  528.  
  529. //
  530. // MessageId: ERROR_PRINT_CANCELLED
  531. //
  532. // MessageText:
  533. //
  534. //  Your file waiting to be printed was deleted.
  535. //
  536. #define ERROR_PRINT_CANCELLED            63L
  537.  
  538. //
  539. // MessageId: ERROR_NETNAME_DELETED
  540. //
  541. // MessageText:
  542. //
  543. //  The specified network name is no longer available.
  544. //
  545. #define ERROR_NETNAME_DELETED            64L
  546.  
  547. //
  548. // MessageId: ERROR_NETWORK_ACCESS_DENIED
  549. //
  550. // MessageText:
  551. //
  552. //  Network access is denied.
  553. //
  554. #define ERROR_NETWORK_ACCESS_DENIED      65L
  555.  
  556. //
  557. // MessageId: ERROR_BAD_DEV_TYPE
  558. //
  559. // MessageText:
  560. //
  561. //  The network resource type is not correct.
  562. //
  563. #define ERROR_BAD_DEV_TYPE               66L
  564.  
  565. //
  566. // MessageId: ERROR_BAD_NET_NAME
  567. //
  568. // MessageText:
  569. //
  570. //  The network name cannot be found.
  571. //
  572. #define ERROR_BAD_NET_NAME               67L
  573.  
  574. //
  575. // MessageId: ERROR_TOO_MANY_NAMES
  576. //
  577. // MessageText:
  578. //
  579. //  The name limit for the local computer network
  580. //  adapter card was exceeded.
  581. //
  582. #define ERROR_TOO_MANY_NAMES             68L
  583.  
  584. //
  585. // MessageId: ERROR_TOO_MANY_SESS
  586. //
  587. // MessageText:
  588. //
  589. //  The network BIOS session limit was exceeded.
  590. //
  591. #define ERROR_TOO_MANY_SESS              69L
  592.  
  593. //
  594. // MessageId: ERROR_SHARING_PAUSED
  595. //
  596. // MessageText:
  597. //
  598. //  The remote server has been paused or is in the
  599. //  process of being started.
  600. //
  601. #define ERROR_SHARING_PAUSED             70L
  602.  
  603. //
  604. // MessageId: ERROR_REQ_NOT_ACCEP
  605. //
  606. // MessageText:
  607. //
  608. //  No more connections can be made to this remote computer at this time
  609. //  because there are already as many connections as the computer can accept.
  610. //
  611. #define ERROR_REQ_NOT_ACCEP              71L
  612.  
  613. //
  614. // MessageId: ERROR_REDIR_PAUSED
  615. //
  616. // MessageText:
  617. //
  618. //  The specified printer or disk device has been paused.
  619. //
  620. #define ERROR_REDIR_PAUSED               72L
  621.  
  622. //
  623. // MessageId: ERROR_FILE_EXISTS
  624. //
  625. // MessageText:
  626. //
  627. //  The file exists.
  628. //
  629. #define ERROR_FILE_EXISTS                80L
  630.  
  631. //
  632. // MessageId: ERROR_CANNOT_MAKE
  633. //
  634. // MessageText:
  635. //
  636. //  The directory or file cannot be created.
  637. //
  638. #define ERROR_CANNOT_MAKE                82L
  639.  
  640. //
  641. // MessageId: ERROR_FAIL_I24
  642. //
  643. // MessageText:
  644. //
  645. //  Fail on INT 24
  646. //
  647. #define ERROR_FAIL_I24                   83L
  648.  
  649. //
  650. // MessageId: ERROR_OUT_OF_STRUCTURES
  651. //
  652. // MessageText:
  653. //
  654. //  Storage to process this request is not available.
  655. //
  656. #define ERROR_OUT_OF_STRUCTURES          84L
  657.  
  658. //
  659. // MessageId: ERROR_ALREADY_ASSIGNED
  660. //
  661. // MessageText:
  662. //
  663. //  The local device name is already in use.
  664. //
  665. #define ERROR_ALREADY_ASSIGNED           85L
  666.  
  667. //
  668. // MessageId: ERROR_INVALID_PASSWORD
  669. //
  670. // MessageText:
  671. //
  672. //  The specified network password is not correct.
  673. //
  674. #define ERROR_INVALID_PASSWORD           86L
  675.  
  676. //
  677. // MessageId: ERROR_INVALID_PARAMETER
  678. //
  679. // MessageText:
  680. //
  681. //  The parameter is incorrect.
  682. //
  683. #define ERROR_INVALID_PARAMETER          87L    // dderror
  684.  
  685. //
  686. // MessageId: ERROR_NET_WRITE_FAULT
  687. //
  688. // MessageText:
  689. //
  690. //  A write fault occurred on the network.
  691. //
  692. #define ERROR_NET_WRITE_FAULT            88L
  693.  
  694. //
  695. // MessageId: ERROR_NO_PROC_SLOTS
  696. //
  697. // MessageText:
  698. //
  699. //  The system cannot start another process at
  700. //  this time.
  701. //
  702. #define ERROR_NO_PROC_SLOTS              89L
  703.  
  704. //
  705. // MessageId: ERROR_TOO_MANY_SEMAPHORES
  706. //
  707. // MessageText:
  708. //
  709. //  Cannot create another system semaphore.
  710. //
  711. #define ERROR_TOO_MANY_SEMAPHORES        100L
  712.  
  713. //
  714. // MessageId: ERROR_EXCL_SEM_ALREADY_OWNED
  715. //
  716. // MessageText:
  717. //
  718. //  The exclusive semaphore is owned by another process.
  719. //
  720. #define ERROR_EXCL_SEM_ALREADY_OWNED     101L
  721.  
  722. //
  723. // MessageId: ERROR_SEM_IS_SET
  724. //
  725. // MessageText:
  726. //
  727. //  The semaphore is set and cannot be closed.
  728. //
  729. #define ERROR_SEM_IS_SET                 102L
  730.  
  731. //
  732. // MessageId: ERROR_TOO_MANY_SEM_REQUESTS
  733. //
  734. // MessageText:
  735. //
  736. //  The semaphore cannot be set again.
  737. //
  738. #define ERROR_TOO_MANY_SEM_REQUESTS      103L
  739.  
  740. //
  741. // MessageId: ERROR_INVALID_AT_INTERRUPT_TIME
  742. //
  743. // MessageText:
  744. //
  745. //  Cannot request exclusive semaphores at interrupt time.
  746. //
  747. #define ERROR_INVALID_AT_INTERRUPT_TIME  104L
  748.  
  749. //
  750. // MessageId: ERROR_SEM_OWNER_DIED
  751. //
  752. // MessageText:
  753. //
  754. //  The previous ownership of this semaphore has ended.
  755. //
  756. #define ERROR_SEM_OWNER_DIED             105L
  757.  
  758. //
  759. // MessageId: ERROR_SEM_USER_LIMIT
  760. //
  761. // MessageText:
  762. //
  763. //  Insert the diskette for drive %1.
  764. //
  765. #define ERROR_SEM_USER_LIMIT             106L
  766.  
  767. //
  768. // MessageId: ERROR_DISK_CHANGE
  769. //
  770. // MessageText:
  771. //
  772. //  Program stopped because alternate diskette was not inserted.
  773. //
  774. #define ERROR_DISK_CHANGE                107L
  775.  
  776. //
  777. // MessageId: ERROR_DRIVE_LOCKED
  778. //
  779. // MessageText:
  780. //
  781. //  The disk is in use or locked by
  782. //  another process.
  783. //
  784. #define ERROR_DRIVE_LOCKED               108L
  785.  
  786. //
  787. // MessageId: ERROR_BROKEN_PIPE
  788. //
  789. // MessageText:
  790. //
  791. //  The pipe has been ended.
  792. //
  793. #define ERROR_BROKEN_PIPE                109L
  794.  
  795. //
  796. // MessageId: ERROR_OPEN_FAILED
  797. //
  798. // MessageText:
  799. //
  800. //  The system cannot open the
  801. //  device or file specified.
  802. //
  803. #define ERROR_OPEN_FAILED                110L
  804.  
  805. //
  806. // MessageId: ERROR_BUFFER_OVERFLOW
  807. //
  808. // MessageText:
  809. //
  810. //  The file name is too long.
  811. //
  812. #define ERROR_BUFFER_OVERFLOW            111L
  813.  
  814. //
  815. // MessageId: ERROR_DISK_FULL
  816. //
  817. // MessageText:
  818. //
  819. //  There is not enough space on the disk.
  820. //
  821. #define ERROR_DISK_FULL                  112L
  822.  
  823. //
  824. // MessageId: ERROR_NO_MORE_SEARCH_HANDLES
  825. //
  826. // MessageText:
  827. //
  828. //  No more internal file identifiers available.
  829. //
  830. #define ERROR_NO_MORE_SEARCH_HANDLES     113L
  831.  
  832. //
  833. // MessageId: ERROR_INVALID_TARGET_HANDLE
  834. //
  835. // MessageText:
  836. //
  837. //  The target internal file identifier is incorrect.
  838. //
  839. #define ERROR_INVALID_TARGET_HANDLE      114L
  840.  
  841. //
  842. // MessageId: ERROR_INVALID_CATEGORY
  843. //
  844. // MessageText:
  845. //
  846. //  The IOCTL call made by the application program is
  847. //  not correct.
  848. //
  849. #define ERROR_INVALID_CATEGORY           117L
  850.  
  851. //
  852. // MessageId: ERROR_INVALID_VERIFY_SWITCH
  853. //
  854. // MessageText:
  855. //
  856. //  The verify-on-write switch parameter value is not
  857. //  correct.
  858. //
  859. #define ERROR_INVALID_VERIFY_SWITCH      118L
  860.  
  861. //
  862. // MessageId: ERROR_BAD_DRIVER_LEVEL
  863. //
  864. // MessageText:
  865. //
  866. //  The system does not support the command requested.
  867. //
  868. #define ERROR_BAD_DRIVER_LEVEL           119L
  869.  
  870. //
  871. // MessageId: ERROR_CALL_NOT_IMPLEMENTED
  872. //
  873. // MessageText:
  874. //
  875. //  This function is only valid in Win32 mode.
  876. //
  877. #define ERROR_CALL_NOT_IMPLEMENTED       120L
  878.  
  879. //
  880. // MessageId: ERROR_SEM_TIMEOUT
  881. //
  882. // MessageText:
  883. //
  884. //  The semaphore timeout period has expired.
  885. //
  886. #define ERROR_SEM_TIMEOUT                121L
  887.  
  888. //
  889. // MessageId: ERROR_INSUFFICIENT_BUFFER
  890. //
  891. // MessageText:
  892. //
  893. //  The data area passed to a system call is too
  894. //  small.
  895. //
  896. #define ERROR_INSUFFICIENT_BUFFER        122L    // dderror
  897.  
  898. //
  899. // MessageId: ERROR_INVALID_NAME
  900. //
  901. // MessageText:
  902. //
  903. //  The filename, directory name, or volume label syntax is incorrect.
  904. //
  905. #define ERROR_INVALID_NAME               123L
  906.  
  907. //
  908. // MessageId: ERROR_INVALID_LEVEL
  909. //
  910. // MessageText:
  911. //
  912. //  The system call level is not correct.
  913. //
  914. #define ERROR_INVALID_LEVEL              124L
  915.  
  916. //
  917. // MessageId: ERROR_NO_VOLUME_LABEL
  918. //
  919. // MessageText:
  920. //
  921. //  The disk has no volume label.
  922. //
  923. #define ERROR_NO_VOLUME_LABEL            125L
  924.  
  925. //
  926. // MessageId: ERROR_MOD_NOT_FOUND
  927. //
  928. // MessageText:
  929. //
  930. //  The specified module could not be found.
  931. //
  932. #define ERROR_MOD_NOT_FOUND              126L
  933.  
  934. //
  935. // MessageId: ERROR_PROC_NOT_FOUND
  936. //
  937. // MessageText:
  938. //
  939. //  The specified procedure could not be found.
  940. //
  941. #define ERROR_PROC_NOT_FOUND             127L
  942.  
  943. //
  944. // MessageId: ERROR_WAIT_NO_CHILDREN
  945. //
  946. // MessageText:
  947. //
  948. //  There are no child processes to wait for.
  949. //
  950. #define ERROR_WAIT_NO_CHILDREN           128L
  951.  
  952. //
  953. // MessageId: ERROR_CHILD_NOT_COMPLETE
  954. //
  955. // MessageText:
  956. //
  957. //  The %1 application cannot be run in Win32 mode.
  958. //
  959. #define ERROR_CHILD_NOT_COMPLETE         129L
  960.  
  961. //
  962. // MessageId: ERROR_DIRECT_ACCESS_HANDLE
  963. //
  964. // MessageText:
  965. //
  966. //  Attempt to use a file handle to an open disk partition for an
  967. //  operation other than raw disk I/O.
  968. //
  969. #define ERROR_DIRECT_ACCESS_HANDLE       130L
  970.  
  971. //
  972. // MessageId: ERROR_NEGATIVE_SEEK
  973. //
  974. // MessageText:
  975. //
  976. //  An attempt was made to move the file pointer before the beginning of the file.
  977. //
  978. #define ERROR_NEGATIVE_SEEK              131L
  979.  
  980. //
  981. // MessageId: ERROR_SEEK_ON_DEVICE
  982. //
  983. // MessageText:
  984. //
  985. //  The file pointer cannot be set on the specified device or file.
  986. //
  987. #define ERROR_SEEK_ON_DEVICE             132L
  988.  
  989. //
  990. // MessageId: ERROR_IS_JOIN_TARGET
  991. //
  992. // MessageText:
  993. //
  994. //  A JOIN or SUBST command
  995. //  cannot be used for a drive that
  996. //  contains previously joined drives.
  997. //
  998. #define ERROR_IS_JOIN_TARGET             133L
  999.  
  1000. //
  1001. // MessageId: ERROR_IS_JOINED
  1002. //
  1003. // MessageText:
  1004. //
  1005. //  An attempt was made to use a
  1006. //  JOIN or SUBST command on a drive that has
  1007. //  already been joined.
  1008. //
  1009. #define ERROR_IS_JOINED                  134L
  1010.  
  1011. //
  1012. // MessageId: ERROR_IS_SUBSTED
  1013. //
  1014. // MessageText:
  1015. //
  1016. //  An attempt was made to use a
  1017. //  JOIN or SUBST command on a drive that has
  1018. //  already been substituted.
  1019. //
  1020. #define ERROR_IS_SUBSTED                 135L
  1021.  
  1022. //
  1023. // MessageId: ERROR_NOT_JOINED
  1024. //
  1025. // MessageText:
  1026. //
  1027. //  The system tried to delete
  1028. //  the JOIN of a drive that is not joined.
  1029. //
  1030. #define ERROR_NOT_JOINED                 136L
  1031.  
  1032. //
  1033. // MessageId: ERROR_NOT_SUBSTED
  1034. //
  1035. // MessageText:
  1036. //
  1037. //  The system tried to delete the
  1038. //  substitution of a drive that is not substituted.
  1039. //
  1040. #define ERROR_NOT_SUBSTED                137L
  1041.  
  1042. //
  1043. // MessageId: ERROR_JOIN_TO_JOIN
  1044. //
  1045. // MessageText:
  1046. //
  1047. //  The system tried to join a drive
  1048. //  to a directory on a joined drive.
  1049. //
  1050. #define ERROR_JOIN_TO_JOIN               138L
  1051.  
  1052. //
  1053. // MessageId: ERROR_SUBST_TO_SUBST
  1054. //
  1055. // MessageText:
  1056. //
  1057. //  The system tried to substitute a
  1058. //  drive to a directory on a substituted drive.
  1059. //
  1060. #define ERROR_SUBST_TO_SUBST             139L
  1061.  
  1062. //
  1063. // MessageId: ERROR_JOIN_TO_SUBST
  1064. //
  1065. // MessageText:
  1066. //
  1067. //  The system tried to join a drive to
  1068. //  a directory on a substituted drive.
  1069. //
  1070. #define ERROR_JOIN_TO_SUBST              140L
  1071.  
  1072. //
  1073. // MessageId: ERROR_SUBST_TO_JOIN
  1074. //
  1075. // MessageText:
  1076. //
  1077. //  The system tried to SUBST a drive
  1078. //  to a directory on a joined drive.
  1079. //
  1080. #define ERROR_SUBST_TO_JOIN              141L
  1081.  
  1082. //
  1083. // MessageId: ERROR_BUSY_DRIVE
  1084. //
  1085. // MessageText:
  1086. //
  1087. //  The system cannot perform a JOIN or SUBST at this time.
  1088. //
  1089. #define ERROR_BUSY_DRIVE                 142L
  1090.  
  1091. //
  1092. // MessageId: ERROR_SAME_DRIVE
  1093. //
  1094. // MessageText:
  1095. //
  1096. //  The system cannot join or substitute a
  1097. //  drive to or for a directory on the same drive.
  1098. //
  1099. #define ERROR_SAME_DRIVE                 143L
  1100.  
  1101. //
  1102. // MessageId: ERROR_DIR_NOT_ROOT
  1103. //
  1104. // MessageText:
  1105. //
  1106. //  The directory is not a subdirectory of the root directory.
  1107. //
  1108. #define ERROR_DIR_NOT_ROOT               144L
  1109.  
  1110. //
  1111. // MessageId: ERROR_DIR_NOT_EMPTY
  1112. //
  1113. // MessageText:
  1114. //
  1115. //  The directory is not empty.
  1116. //
  1117. #define ERROR_DIR_NOT_EMPTY              145L
  1118.  
  1119. //
  1120. // MessageId: ERROR_IS_SUBST_PATH
  1121. //
  1122. // MessageText:
  1123. //
  1124. //  The path specified is being used in
  1125. //  a substitute.
  1126. //
  1127. #define ERROR_IS_SUBST_PATH              146L
  1128.  
  1129. //
  1130. // MessageId: ERROR_IS_JOIN_PATH
  1131. //
  1132. // MessageText:
  1133. //
  1134. //  Not enough resources are available to
  1135. //  process this command.
  1136. //
  1137. #define ERROR_IS_JOIN_PATH               147L
  1138.  
  1139. //
  1140. // MessageId: ERROR_PATH_BUSY
  1141. //
  1142. // MessageText:
  1143. //
  1144. //  The path specified cannot be used at this time.
  1145. //
  1146. #define ERROR_PATH_BUSY                  148L
  1147.  
  1148. //
  1149. // MessageId: ERROR_IS_SUBST_TARGET
  1150. //
  1151. // MessageText:
  1152. //
  1153. //  An attempt was made to join
  1154. //  or substitute a drive for which a directory
  1155. //  on the drive is the target of a previous
  1156. //  substitute.
  1157. //
  1158. #define ERROR_IS_SUBST_TARGET            149L
  1159.  
  1160. //
  1161. // MessageId: ERROR_SYSTEM_TRACE
  1162. //
  1163. // MessageText:
  1164. //
  1165. //  System trace information was not specified in your
  1166. //  CONFIG.SYS file, or tracing is disallowed.
  1167. //
  1168. #define ERROR_SYSTEM_TRACE               150L
  1169.  
  1170. //
  1171. // MessageId: ERROR_INVALID_EVENT_COUNT
  1172. //
  1173. // MessageText:
  1174. //
  1175. //  The number of specified semaphore events for
  1176. //  DosMuxSemWait is not correct.
  1177. //
  1178. #define ERROR_INVALID_EVENT_COUNT        151L
  1179.  
  1180. //
  1181. // MessageId: ERROR_TOO_MANY_MUXWAITERS
  1182. //
  1183. // MessageText:
  1184. //
  1185. //  DosMuxSemWait did not execute; too many semaphores
  1186. //  are already set.
  1187. //
  1188. #define ERROR_TOO_MANY_MUXWAITERS        152L
  1189.  
  1190. //
  1191. // MessageId: ERROR_INVALID_LIST_FORMAT
  1192. //
  1193. // MessageText:
  1194. //
  1195. //  The DosMuxSemWait list is not correct.
  1196. //
  1197. #define ERROR_INVALID_LIST_FORMAT        153L
  1198.  
  1199. //
  1200. // MessageId: ERROR_LABEL_TOO_LONG
  1201. //
  1202. // MessageText:
  1203. //
  1204. //  The volume label you entered exceeds the label character
  1205. //  limit of the target file system.
  1206. //
  1207. #define ERROR_LABEL_TOO_LONG             154L
  1208.  
  1209. //
  1210. // MessageId: ERROR_TOO_MANY_TCBS
  1211. //
  1212. // MessageText:
  1213. //
  1214. //  Cannot create another thread.
  1215. //
  1216. #define ERROR_TOO_MANY_TCBS              155L
  1217.  
  1218. //
  1219. // MessageId: ERROR_SIGNAL_REFUSED
  1220. //
  1221. // MessageText:
  1222. //
  1223. //  The recipient process has refused the signal.
  1224. //
  1225. #define ERROR_SIGNAL_REFUSED             156L
  1226.  
  1227. //
  1228. // MessageId: ERROR_DISCARDED
  1229. //
  1230. // MessageText:
  1231. //
  1232. //  The segment is already discarded and cannot be locked.
  1233. //
  1234. #define ERROR_DISCARDED                  157L
  1235.  
  1236. //
  1237. // MessageId: ERROR_NOT_LOCKED
  1238. //
  1239. // MessageText:
  1240. //
  1241. //  The segment is already unlocked.
  1242. //
  1243. #define ERROR_NOT_LOCKED                 158L
  1244.  
  1245. //
  1246. // MessageId: ERROR_BAD_THREADID_ADDR
  1247. //
  1248. // MessageText:
  1249. //
  1250. //  The address for the thread ID is not correct.
  1251. //
  1252. #define ERROR_BAD_THREADID_ADDR          159L
  1253.  
  1254. //
  1255. // MessageId: ERROR_BAD_ARGUMENTS
  1256. //
  1257. // MessageText:
  1258. //
  1259. //  The argument string passed to DosExecPgm is not correct.
  1260. //
  1261. #define ERROR_BAD_ARGUMENTS              160L
  1262.  
  1263. //
  1264. // MessageId: ERROR_BAD_PATHNAME
  1265. //
  1266. // MessageText:
  1267. //
  1268. //  The specified path is invalid.
  1269. //
  1270. #define ERROR_BAD_PATHNAME               161L
  1271.  
  1272. //
  1273. // MessageId: ERROR_SIGNAL_PENDING
  1274. //
  1275. // MessageText:
  1276. //
  1277. //  A signal is already pending.
  1278. //
  1279. #define ERROR_SIGNAL_PENDING             162L
  1280.  
  1281. //
  1282. // MessageId: ERROR_MAX_THRDS_REACHED
  1283. //
  1284. // MessageText:
  1285. //
  1286. //  No more threads can be created in the system.
  1287. //
  1288. #define ERROR_MAX_THRDS_REACHED          164L
  1289.  
  1290. //
  1291. // MessageId: ERROR_LOCK_FAILED
  1292. //
  1293. // MessageText:
  1294. //
  1295. //  Unable to lock a region of a file.
  1296. //
  1297. #define ERROR_LOCK_FAILED                167L
  1298.  
  1299. //
  1300. // MessageId: ERROR_BUSY
  1301. //
  1302. // MessageText:
  1303. //
  1304. //  The requested resource is in use.
  1305. //
  1306. #define ERROR_BUSY                       170L
  1307.  
  1308. //
  1309. // MessageId: ERROR_CANCEL_VIOLATION
  1310. //
  1311. // MessageText:
  1312. //
  1313. //  A lock request was not outstanding for the supplied cancel region.
  1314. //
  1315. #define ERROR_CANCEL_VIOLATION           173L
  1316.  
  1317. //
  1318. // MessageId: ERROR_ATOMIC_LOCKS_NOT_SUPPORTED
  1319. //
  1320. // MessageText:
  1321. //
  1322. //  The file system does not support atomic changes to the lock type.
  1323. //
  1324. #define ERROR_ATOMIC_LOCKS_NOT_SUPPORTED 174L
  1325.  
  1326. //
  1327. // MessageId: ERROR_INVALID_SEGMENT_NUMBER
  1328. //
  1329. // MessageText:
  1330. //
  1331. //  The system detected a segment number that was not correct.
  1332. //
  1333. #define ERROR_INVALID_SEGMENT_NUMBER     180L
  1334.  
  1335. //
  1336. // MessageId: ERROR_INVALID_ORDINAL
  1337. //
  1338. // MessageText:
  1339. //
  1340. //  The operating system cannot run %1.
  1341. //
  1342. #define ERROR_INVALID_ORDINAL            182L
  1343.  
  1344. //
  1345. // MessageId: ERROR_ALREADY_EXISTS
  1346. //
  1347. // MessageText:
  1348. //
  1349. //  Cannot create a file when that file already exists.
  1350. //
  1351. #define ERROR_ALREADY_EXISTS             183L
  1352.  
  1353. //
  1354. // MessageId: ERROR_INVALID_FLAG_NUMBER
  1355. //
  1356. // MessageText:
  1357. //
  1358. //  The flag passed is not correct.
  1359. //
  1360. #define ERROR_INVALID_FLAG_NUMBER        186L
  1361.  
  1362. //
  1363. // MessageId: ERROR_SEM_NOT_FOUND
  1364. //
  1365. // MessageText:
  1366. //
  1367. //  The specified system semaphore name was not found.
  1368. //
  1369. #define ERROR_SEM_NOT_FOUND              187L
  1370.  
  1371. //
  1372. // MessageId: ERROR_INVALID_STARTING_CODESEG
  1373. //
  1374. // MessageText:
  1375. //
  1376. //  The operating system cannot run %1.
  1377. //
  1378. #define ERROR_INVALID_STARTING_CODESEG   188L
  1379.  
  1380. //
  1381. // MessageId: ERROR_INVALID_STACKSEG
  1382. //
  1383. // MessageText:
  1384. //
  1385. //  The operating system cannot run %1.
  1386. //
  1387. #define ERROR_INVALID_STACKSEG           189L
  1388.  
  1389. //
  1390. // MessageId: ERROR_INVALID_MODULETYPE
  1391. //
  1392. // MessageText:
  1393. //
  1394. //  The operating system cannot run %1.
  1395. //
  1396. #define ERROR_INVALID_MODULETYPE         190L
  1397.  
  1398. //
  1399. // MessageId: ERROR_INVALID_EXE_SIGNATURE
  1400. //
  1401. // MessageText:
  1402. //
  1403. //  Cannot run %1 in Win32 mode.
  1404. //
  1405. #define ERROR_INVALID_EXE_SIGNATURE      191L
  1406.  
  1407. //
  1408. // MessageId: ERROR_EXE_MARKED_INVALID
  1409. //
  1410. // MessageText:
  1411. //
  1412. //  The operating system cannot run %1.
  1413. //
  1414. #define ERROR_EXE_MARKED_INVALID         192L
  1415.  
  1416. //
  1417. // MessageId: ERROR_BAD_EXE_FORMAT
  1418. //
  1419. // MessageText:
  1420. //
  1421. //  %1 is not a valid Win32 application.
  1422. //
  1423. #define ERROR_BAD_EXE_FORMAT             193L
  1424.  
  1425. //
  1426. // MessageId: ERROR_ITERATED_DATA_EXCEEDS_64k
  1427. //
  1428. // MessageText:
  1429. //
  1430. //  The operating system cannot run %1.
  1431. //
  1432. #define ERROR_ITERATED_DATA_EXCEEDS_64k  194L
  1433.  
  1434. //
  1435. // MessageId: ERROR_INVALID_MINALLOCSIZE
  1436. //
  1437. // MessageText:
  1438. //
  1439. //  The operating system cannot run %1.
  1440. //
  1441. #define ERROR_INVALID_MINALLOCSIZE       195L
  1442.  
  1443. //
  1444. // MessageId: ERROR_DYNLINK_FROM_INVALID_RING
  1445. //
  1446. // MessageText:
  1447. //
  1448. //  The operating system cannot run this
  1449. //  application program.
  1450. //
  1451. #define ERROR_DYNLINK_FROM_INVALID_RING  196L
  1452.  
  1453. //
  1454. // MessageId: ERROR_IOPL_NOT_ENABLED
  1455. //
  1456. // MessageText:
  1457. //
  1458. //  The operating system is not presently
  1459. //  configured to run this application.
  1460. //
  1461. #define ERROR_IOPL_NOT_ENABLED           197L
  1462.  
  1463. //
  1464. // MessageId: ERROR_INVALID_SEGDPL
  1465. //
  1466. // MessageText:
  1467. //
  1468. //  The operating system cannot run %1.
  1469. //
  1470. #define ERROR_INVALID_SEGDPL             198L
  1471.  
  1472. //
  1473. // MessageId: ERROR_AUTODATASEG_EXCEEDS_64k
  1474. //
  1475. // MessageText:
  1476. //
  1477. //  The operating system cannot run this
  1478. //  application program.
  1479. //
  1480. #define ERROR_AUTODATASEG_EXCEEDS_64k    199L
  1481.  
  1482. //
  1483. // MessageId: ERROR_RING2SEG_MUST_BE_MOVABLE
  1484. //
  1485. // MessageText:
  1486. //
  1487. //  The code segment cannot be greater than or equal to 64KB.
  1488. //
  1489. #define ERROR_RING2SEG_MUST_BE_MOVABLE   200L
  1490.  
  1491. //
  1492. // MessageId: ERROR_RELOC_CHAIN_XEEDS_SEGLIM
  1493. //
  1494. // MessageText:
  1495. //
  1496. //  The operating system cannot run %1.
  1497. //
  1498. #define ERROR_RELOC_CHAIN_XEEDS_SEGLIM   201L
  1499.  
  1500. //
  1501. // MessageId: ERROR_INFLOOP_IN_RELOC_CHAIN
  1502. //
  1503. // MessageText:
  1504. //
  1505. //  The operating system cannot run %1.
  1506. //
  1507. #define ERROR_INFLOOP_IN_RELOC_CHAIN     202L
  1508.  
  1509. //
  1510. // MessageId: ERROR_ENVVAR_NOT_FOUND
  1511. //
  1512. // MessageText:
  1513. //
  1514. //  The system could not find the environment
  1515. //  option that was entered.
  1516. //
  1517. #define ERROR_ENVVAR_NOT_FOUND           203L
  1518.  
  1519. //
  1520. // MessageId: ERROR_NO_SIGNAL_SENT
  1521. //
  1522. // MessageText:
  1523. //
  1524. //  No process in the command subtree has a
  1525. //  signal handler.
  1526. //
  1527. #define ERROR_NO_SIGNAL_SENT             205L
  1528.  
  1529. //
  1530. // MessageId: ERROR_FILENAME_EXCED_RANGE
  1531. //
  1532. // MessageText:
  1533. //
  1534. //  The filename or extension is too long.
  1535. //
  1536. #define ERROR_FILENAME_EXCED_RANGE       206L
  1537.  
  1538. //
  1539. // MessageId: ERROR_RING2_STACK_IN_USE
  1540. //
  1541. // MessageText:
  1542. //
  1543. //  The ring 2 stack is in use.
  1544. //
  1545. #define ERROR_RING2_STACK_IN_USE         207L
  1546.  
  1547. //
  1548. // MessageId: ERROR_META_EXPANSION_TOO_LONG
  1549. //
  1550. // MessageText:
  1551. //
  1552. //  The global filename characters, * or ?, are entered
  1553. //  incorrectly or too many global filename characters are specified.
  1554. //
  1555. #define ERROR_META_EXPANSION_TOO_LONG    208L
  1556.  
  1557. //
  1558. // MessageId: ERROR_INVALID_SIGNAL_NUMBER
  1559. //
  1560. // MessageText:
  1561. //
  1562. //  The signal being posted is not correct.
  1563. //
  1564. #define ERROR_INVALID_SIGNAL_NUMBER      209L
  1565.  
  1566. //
  1567. // MessageId: ERROR_THREAD_1_INACTIVE
  1568. //
  1569. // MessageText:
  1570. //
  1571. //  The signal handler cannot be set.
  1572. //
  1573. #define ERROR_THREAD_1_INACTIVE          210L
  1574.  
  1575. //
  1576. // MessageId: ERROR_LOCKED
  1577. //
  1578. // MessageText:
  1579. //
  1580. //  The segment is locked and cannot be reallocated.
  1581. //
  1582. #define ERROR_LOCKED                     212L
  1583.  
  1584. //
  1585. // MessageId: ERROR_TOO_MANY_MODULES
  1586. //
  1587. // MessageText:
  1588. //
  1589. //  Too many dynamic link modules are attached to this
  1590. //  program or dynamic link module.
  1591. //
  1592. #define ERROR_TOO_MANY_MODULES           214L
  1593.  
  1594. //
  1595. // MessageId: ERROR_NESTING_NOT_ALLOWED
  1596. //
  1597. // MessageText:
  1598. //
  1599. //  Can't nest calls to LoadModule.
  1600. //
  1601. #define ERROR_NESTING_NOT_ALLOWED        215L
  1602.  
  1603. //
  1604. // MessageId: ERROR_BAD_PIPE
  1605. //
  1606. // MessageText:
  1607. //
  1608. //  The pipe state is invalid.
  1609. //
  1610. #define ERROR_BAD_PIPE                   230L
  1611.  
  1612. //
  1613. // MessageId: ERROR_PIPE_BUSY
  1614. //
  1615. // MessageText:
  1616. //
  1617. //  All pipe instances are busy.
  1618. //
  1619. #define ERROR_PIPE_BUSY                  231L
  1620.  
  1621. //
  1622. // MessageId: ERROR_NO_DATA
  1623. //
  1624. // MessageText:
  1625. //
  1626. //  The pipe is being closed.
  1627. //
  1628. #define ERROR_NO_DATA                    232L
  1629.  
  1630. //
  1631. // MessageId: ERROR_PIPE_NOT_CONNECTED
  1632. //
  1633. // MessageText:
  1634. //
  1635. //  No process is on the other end of the pipe.
  1636. //
  1637. #define ERROR_PIPE_NOT_CONNECTED         233L
  1638.  
  1639. //
  1640. // MessageId: ERROR_MORE_DATA
  1641. //
  1642. // MessageText:
  1643. //
  1644. //  More data is available.
  1645. //
  1646. #define ERROR_MORE_DATA                  234L    // dderror
  1647.  
  1648. //
  1649. // MessageId: ERROR_VC_DISCONNECTED
  1650. //
  1651. // MessageText:
  1652. //
  1653. //  The session was cancelled.
  1654. //
  1655. #define ERROR_VC_DISCONNECTED            240L
  1656.  
  1657. //
  1658. // MessageId: ERROR_INVALID_EA_NAME
  1659. //
  1660. // MessageText:
  1661. //
  1662. //  The specified extended attribute name was invalid.
  1663. //
  1664. #define ERROR_INVALID_EA_NAME            254L
  1665.  
  1666. //
  1667. // MessageId: ERROR_EA_LIST_INCONSISTENT
  1668. //
  1669. // MessageText:
  1670. //
  1671. //  The extended attributes are inconsistent.
  1672. //
  1673. #define ERROR_EA_LIST_INCONSISTENT       255L
  1674.  
  1675. //
  1676. // MessageId: ERROR_NO_MORE_ITEMS
  1677. //
  1678. // MessageText:
  1679. //
  1680. //  No more data is available.
  1681. //
  1682. #define ERROR_NO_MORE_ITEMS              259L
  1683.  
  1684. //
  1685. // MessageId: ERROR_CANNOT_COPY
  1686. //
  1687. // MessageText:
  1688. //
  1689. //  The Copy API cannot be used.
  1690. //
  1691. #define ERROR_CANNOT_COPY                266L
  1692.  
  1693. //
  1694. // MessageId: ERROR_DIRECTORY
  1695. //
  1696. // MessageText:
  1697. //
  1698. //  The directory name is invalid.
  1699. //
  1700. #define ERROR_DIRECTORY                  267L
  1701.  
  1702. //
  1703. // MessageId: ERROR_EAS_DIDNT_FIT
  1704. //
  1705. // MessageText:
  1706. //
  1707. //  The extended attributes did not fit in the buffer.
  1708. //
  1709. #define ERROR_EAS_DIDNT_FIT              275L
  1710.  
  1711. //
  1712. // MessageId: ERROR_EA_FILE_CORRUPT
  1713. //
  1714. // MessageText:
  1715. //
  1716. //  The extended attribute file on the mounted file system is corrupt.
  1717. //
  1718. #define ERROR_EA_FILE_CORRUPT            276L
  1719.  
  1720. //
  1721. // MessageId: ERROR_EA_TABLE_FULL
  1722. //
  1723. // MessageText:
  1724. //
  1725. //  The extended attribute table file is full.
  1726. //
  1727. #define ERROR_EA_TABLE_FULL              277L
  1728.  
  1729. //
  1730. // MessageId: ERROR_INVALID_EA_HANDLE
  1731. //
  1732. // MessageText:
  1733. //
  1734. //  The specified extended attribute handle is invalid.
  1735. //
  1736. #define ERROR_INVALID_EA_HANDLE          278L
  1737.  
  1738. //
  1739. // MessageId: ERROR_EAS_NOT_SUPPORTED
  1740. //
  1741. // MessageText:
  1742. //
  1743. //  The mounted file system does not support extended attributes.
  1744. //
  1745. #define ERROR_EAS_NOT_SUPPORTED          282L
  1746.  
  1747. //
  1748. // MessageId: ERROR_NOT_OWNER
  1749. //
  1750. // MessageText:
  1751. //
  1752. //  Attempt to release mutex not owned by caller.
  1753. //
  1754. #define ERROR_NOT_OWNER                  288L
  1755.  
  1756. //
  1757. // MessageId: ERROR_TOO_MANY_POSTS
  1758. //
  1759. // MessageText:
  1760. //
  1761. //  Too many posts were made to a semaphore.
  1762. //
  1763. #define ERROR_TOO_MANY_POSTS             298L
  1764.  
  1765. //
  1766. // MessageId: ERROR_PARTIAL_COPY
  1767. //
  1768. // MessageText:
  1769. //
  1770. //  Only part of a Read/WriteProcessMemory request was completed.
  1771. //
  1772. #define ERROR_PARTIAL_COPY               299L
  1773.  
  1774. //
  1775. // MessageId: ERROR_MR_MID_NOT_FOUND
  1776. //
  1777. // MessageText:
  1778. //
  1779. //  The system cannot find message for message number 0x%1
  1780. //  in message file for %2.
  1781. //
  1782. #define ERROR_MR_MID_NOT_FOUND           317L
  1783.  
  1784. //
  1785. // MessageId: ERROR_INVALID_ADDRESS
  1786. //
  1787. // MessageText:
  1788. //
  1789. //  Attempt to access invalid address.
  1790. //
  1791. #define ERROR_INVALID_ADDRESS            487L
  1792.  
  1793. //
  1794. // MessageId: ERROR_ARITHMETIC_OVERFLOW
  1795. //
  1796. // MessageText:
  1797. //
  1798. //  Arithmetic result exceeded 32 bits.
  1799. //
  1800. #define ERROR_ARITHMETIC_OVERFLOW        534L
  1801.  
  1802. //
  1803. // MessageId: ERROR_PIPE_CONNECTED
  1804. //
  1805. // MessageText:
  1806. //
  1807. //  There is a process on other end of the pipe.
  1808. //
  1809. #define ERROR_PIPE_CONNECTED             535L
  1810.  
  1811. //
  1812. // MessageId: ERROR_PIPE_LISTENING
  1813. //
  1814. // MessageText:
  1815. //
  1816. //  Waiting for a process to open the other end of the pipe.
  1817. //
  1818. #define ERROR_PIPE_LISTENING             536L
  1819.  
  1820. //
  1821. // MessageId: ERROR_EA_ACCESS_DENIED
  1822. //
  1823. // MessageText:
  1824. //
  1825. //  Access to the extended attribute was denied.
  1826. //
  1827. #define ERROR_EA_ACCESS_DENIED           994L
  1828.  
  1829. //
  1830. // MessageId: ERROR_OPERATION_ABORTED
  1831. //
  1832. // MessageText:
  1833. //
  1834. //  The I/O operation has been aborted because of either a thread exit
  1835. //  or an application request.
  1836. //
  1837. #define ERROR_OPERATION_ABORTED          995L
  1838.  
  1839. //
  1840. // MessageId: ERROR_IO_INCOMPLETE
  1841. //
  1842. // MessageText:
  1843. //
  1844. //  Overlapped I/O event is not in a signalled state.
  1845. //
  1846. #define ERROR_IO_INCOMPLETE              996L
  1847.  
  1848. //
  1849. // MessageId: ERROR_IO_PENDING
  1850. //
  1851. // MessageText:
  1852. //
  1853. //  Overlapped I/O operation is in progress.
  1854. //
  1855. #define ERROR_IO_PENDING                 997L    // dderror
  1856.  
  1857. //
  1858. // MessageId: ERROR_NOACCESS
  1859. //
  1860. // MessageText:
  1861. //
  1862. //  Invalid access to memory location.
  1863. //
  1864. #define ERROR_NOACCESS                   998L
  1865.  
  1866. //
  1867. // MessageId: ERROR_SWAPERROR
  1868. //
  1869. // MessageText:
  1870. //
  1871. //  Error performing inpage operation.
  1872. //
  1873. #define ERROR_SWAPERROR                  999L
  1874.  
  1875. //
  1876. // MessageId: ERROR_STACK_OVERFLOW
  1877. //
  1878. // MessageText:
  1879. //
  1880. //  Recursion too deep, stack overflowed.
  1881. //
  1882. #define ERROR_STACK_OVERFLOW             1001L
  1883.  
  1884. //
  1885. // MessageId: ERROR_INVALID_MESSAGE
  1886. //
  1887. // MessageText:
  1888. //
  1889. //  The window cannot act on the sent message.
  1890. //
  1891. #define ERROR_INVALID_MESSAGE            1002L
  1892.  
  1893. //
  1894. // MessageId: ERROR_CAN_NOT_COMPLETE
  1895. //
  1896. // MessageText:
  1897. //
  1898. //  Cannot complete this function.
  1899. //
  1900. #define ERROR_CAN_NOT_COMPLETE           1003L
  1901.  
  1902. //
  1903. // MessageId: ERROR_INVALID_FLAGS
  1904. //
  1905. // MessageText:
  1906. //
  1907. //  Invalid flags.
  1908. //
  1909. #define ERROR_INVALID_FLAGS              1004L
  1910.  
  1911. //
  1912. // MessageId: ERROR_UNRECOGNIZED_VOLUME
  1913. //
  1914. // MessageText:
  1915. //
  1916. //  The volume does not contain a recognized file system.
  1917. //  Please make sure that all required file system drivers are loaded and that the
  1918. //  volume is not corrupt.
  1919. //
  1920. #define ERROR_UNRECOGNIZED_VOLUME        1005L
  1921.  
  1922. //
  1923. // MessageId: ERROR_FILE_INVALID
  1924. //
  1925. // MessageText:
  1926. //
  1927. //  The volume for a file has been externally altered such that the
  1928. //  opened file is no longer valid.
  1929. //
  1930. #define ERROR_FILE_INVALID               1006L
  1931.  
  1932. //
  1933. // MessageId: ERROR_FULLSCREEN_MODE
  1934. //
  1935. // MessageText:
  1936. //
  1937. //  The requested operation cannot be performed in full-screen mode.
  1938. //
  1939. #define ERROR_FULLSCREEN_MODE            1007L
  1940.  
  1941. //
  1942. // MessageId: ERROR_NO_TOKEN
  1943. //
  1944. // MessageText:
  1945. //
  1946. //  An attempt was made to reference a token that does not exist.
  1947. //
  1948. #define ERROR_NO_TOKEN                   1008L
  1949.  
  1950. //
  1951. // MessageId: ERROR_BADDB
  1952. //
  1953. // MessageText:
  1954. //
  1955. //  The configuration registry database is corrupt.
  1956. //
  1957. #define ERROR_BADDB                      1009L
  1958.  
  1959. //
  1960. // MessageId: ERROR_BADKEY
  1961. //
  1962. // MessageText:
  1963. //
  1964. //  The configuration registry key is invalid.
  1965. //
  1966. #define ERROR_BADKEY                     1010L
  1967.  
  1968. //
  1969. // MessageId: ERROR_CANTOPEN
  1970. //
  1971. // MessageText:
  1972. //
  1973. //  The configuration registry key could not be opened.
  1974. //
  1975. #define ERROR_CANTOPEN                   1011L
  1976.  
  1977. //
  1978. // MessageId: ERROR_CANTREAD
  1979. //
  1980. // MessageText:
  1981. //
  1982. //  The configuration registry key could not be read.
  1983. //
  1984. #define ERROR_CANTREAD                   1012L
  1985.  
  1986. //
  1987. // MessageId: ERROR_CANTWRITE
  1988. //
  1989. // MessageText:
  1990. //
  1991. //  The configuration registry key could not be written.
  1992. //
  1993. #define ERROR_CANTWRITE                  1013L
  1994.  
  1995. //
  1996. // MessageId: ERROR_REGISTRY_RECOVERED
  1997. //
  1998. // MessageText:
  1999. //
  2000. //  One of the files in the Registry database had to be recovered
  2001. //  by use of a log or alternate copy.  The recovery was successful.
  2002. //
  2003. #define ERROR_REGISTRY_RECOVERED         1014L
  2004.  
  2005. //
  2006. // MessageId: ERROR_REGISTRY_CORRUPT
  2007. //
  2008. // MessageText:
  2009. //
  2010. //  The Registry is corrupt. The structure of one of the files that contains
  2011. //  Registry data is corrupt, or the system's image of the file in memory
  2012. //  is corrupt, or the file could not be recovered because the alternate
  2013. //  copy or log was absent or corrupt.
  2014. //
  2015. #define ERROR_REGISTRY_CORRUPT           1015L
  2016.  
  2017. //
  2018. // MessageId: ERROR_REGISTRY_IO_FAILED
  2019. //
  2020. // MessageText:
  2021. //
  2022. //  An I/O operation initiated by the Registry failed unrecoverably.
  2023. //  The Registry could not read in, or write out, or flush, one of the files
  2024. //  that contain the system's image of the Registry.
  2025. //
  2026. #define ERROR_REGISTRY_IO_FAILED         1016L
  2027.  
  2028. //
  2029. // MessageId: ERROR_NOT_REGISTRY_FILE
  2030. //
  2031. // MessageText:
  2032. //
  2033. //  The system has attempted to load or restore a file into the Registry, but the
  2034. //  specified file is not in a Registry file format.
  2035. //
  2036. #define ERROR_NOT_REGISTRY_FILE          1017L
  2037.  
  2038. //
  2039. // MessageId: ERROR_KEY_DELETED
  2040. //
  2041. // MessageText:
  2042. //
  2043. //  Illegal operation attempted on a Registry key which has been marked for deletion.
  2044. //
  2045. #define ERROR_KEY_DELETED                1018L
  2046.  
  2047. //
  2048. // MessageId: ERROR_NO_LOG_SPACE
  2049. //
  2050. // MessageText:
  2051. //
  2052. //  System could not allocate the required space in a Registry log.
  2053. //
  2054. #define ERROR_NO_LOG_SPACE               1019L
  2055.  
  2056. //
  2057. // MessageId: ERROR_KEY_HAS_CHILDREN
  2058. //
  2059. // MessageText:
  2060. //
  2061. //  Cannot create a symbolic link in a Registry key that already
  2062. //  has subkeys or values.
  2063. //
  2064. #define ERROR_KEY_HAS_CHILDREN           1020L
  2065.  
  2066. //
  2067. // MessageId: ERROR_CHILD_MUST_BE_VOLATILE
  2068. //
  2069. // MessageText:
  2070. //
  2071. //  Cannot create a stable subkey under a volatile parent key.
  2072. //
  2073. #define ERROR_CHILD_MUST_BE_VOLATILE     1021L
  2074.  
  2075. //
  2076. // MessageId: ERROR_NOTIFY_ENUM_DIR
  2077. //
  2078. // MessageText:
  2079. //
  2080. //  A notify change request is being completed and the information
  2081. //  is not being returned in the caller's buffer. The caller now
  2082. //  needs to enumerate the files to find the changes.
  2083. //
  2084. #define ERROR_NOTIFY_ENUM_DIR            1022L
  2085.  
  2086. //
  2087. // MessageId: ERROR_DEPENDENT_SERVICES_RUNNING
  2088. //
  2089. // MessageText:
  2090. //
  2091. //  A stop control has been sent to a service which other running services
  2092. //  are dependent on.
  2093. //
  2094. #define ERROR_DEPENDENT_SERVICES_RUNNING 1051L
  2095.  
  2096. //
  2097. // MessageId: ERROR_INVALID_SERVICE_CONTROL
  2098. //
  2099. // MessageText:
  2100. //
  2101. //  The requested control is not valid for this service
  2102. //
  2103. #define ERROR_INVALID_SERVICE_CONTROL    1052L
  2104.  
  2105. //
  2106. // MessageId: ERROR_SERVICE_REQUEST_TIMEOUT
  2107. //
  2108. // MessageText:
  2109. //
  2110. //  The service did not respond to the start or control request in a timely
  2111. //  fashion.
  2112. //
  2113. #define ERROR_SERVICE_REQUEST_TIMEOUT    1053L
  2114.  
  2115. //
  2116. // MessageId: ERROR_SERVICE_NO_THREAD
  2117. //
  2118. // MessageText:
  2119. //
  2120. //  A thread could not be created for the service.
  2121. //
  2122. #define ERROR_SERVICE_NO_THREAD          1054L
  2123.  
  2124. //
  2125. // MessageId: ERROR_SERVICE_DATABASE_LOCKED
  2126. //
  2127. // MessageText:
  2128. //
  2129. //  The service database is locked.
  2130. //
  2131. #define ERROR_SERVICE_DATABASE_LOCKED    1055L
  2132.  
  2133. //
  2134. // MessageId: ERROR_SERVICE_ALREADY_RUNNING
  2135. //
  2136. // MessageText:
  2137. //
  2138. //  An instance of the service is already running.
  2139. //
  2140. #define ERROR_SERVICE_ALREADY_RUNNING    1056L
  2141.  
  2142. //
  2143. // MessageId: ERROR_INVALID_SERVICE_ACCOUNT
  2144. //
  2145. // MessageText:
  2146. //
  2147. //  The account name is invalid or does not exist.
  2148. //
  2149. #define ERROR_INVALID_SERVICE_ACCOUNT    1057L
  2150.  
  2151. //
  2152. // MessageId: ERROR_SERVICE_DISABLED
  2153. //
  2154. // MessageText:
  2155. //
  2156. //  The specified service is disabled and cannot be started.
  2157. //
  2158. #define ERROR_SERVICE_DISABLED           1058L
  2159.  
  2160. //
  2161. // MessageId: ERROR_CIRCULAR_DEPENDENCY
  2162. //
  2163. // MessageText:
  2164. //
  2165. //  Circular service dependency was specified.
  2166. //
  2167. #define ERROR_CIRCULAR_DEPENDENCY        1059L
  2168.  
  2169. //
  2170. // MessageId: ERROR_SERVICE_DOES_NOT_EXIST
  2171. //
  2172. // MessageText:
  2173. //
  2174. //  The specified service does not exist as an installed service.
  2175. //
  2176. #define ERROR_SERVICE_DOES_NOT_EXIST     1060L
  2177.  
  2178. //
  2179. // MessageId: ERROR_SERVICE_CANNOT_ACCEPT_CTRL
  2180. //
  2181. // MessageText:
  2182. //
  2183. //  The service cannot accept control messages at this time.
  2184. //
  2185. #define ERROR_SERVICE_CANNOT_ACCEPT_CTRL 1061L
  2186.  
  2187. //
  2188. // MessageId: ERROR_SERVICE_NOT_ACTIVE
  2189. //
  2190. // MessageText:
  2191. //
  2192. //  The service has not been started.
  2193. //
  2194. #define ERROR_SERVICE_NOT_ACTIVE         1062L
  2195.  
  2196. //
  2197. // MessageId: ERROR_FAILED_SERVICE_CONTROLLER_CONNECT
  2198. //
  2199. // MessageText:
  2200. //
  2201. //  The service process could not connect to the service controller.
  2202. //
  2203. #define ERROR_FAILED_SERVICE_CONTROLLER_CONNECT 1063L
  2204.  
  2205. //
  2206. // MessageId: ERROR_EXCEPTION_IN_SERVICE
  2207. //
  2208. // MessageText:
  2209. //
  2210. //  An exception occurred in the service when handling the control request.
  2211. //
  2212. #define ERROR_EXCEPTION_IN_SERVICE       1064L
  2213.  
  2214. //
  2215. // MessageId: ERROR_DATABASE_DOES_NOT_EXIST
  2216. //
  2217. // MessageText:
  2218. //
  2219. //  The database specified does not exist.
  2220. //
  2221. #define ERROR_DATABASE_DOES_NOT_EXIST    1065L
  2222.  
  2223. //
  2224. // MessageId: ERROR_SERVICE_SPECIFIC_ERROR
  2225. //
  2226. // MessageText:
  2227. //
  2228. //  The service has returned a service-specific error code.
  2229. //
  2230. #define ERROR_SERVICE_SPECIFIC_ERROR     1066L
  2231.  
  2232. //
  2233. // MessageId: ERROR_PROCESS_ABORTED
  2234. //
  2235. // MessageText:
  2236. //
  2237. //  The process terminated unexpectedly.
  2238. //
  2239. #define ERROR_PROCESS_ABORTED            1067L
  2240.  
  2241. //
  2242. // MessageId: ERROR_SERVICE_DEPENDENCY_FAIL
  2243. //
  2244. // MessageText:
  2245. //
  2246. //  The dependency service or group failed to start.
  2247. //
  2248. #define ERROR_SERVICE_DEPENDENCY_FAIL    1068L
  2249.  
  2250. //
  2251. // MessageId: ERROR_SERVICE_LOGON_FAILED
  2252. //
  2253. // MessageText:
  2254. //
  2255. //  The service did not start due to a logon failure.
  2256. //
  2257. #define ERROR_SERVICE_LOGON_FAILED       1069L
  2258.  
  2259. //
  2260. // MessageId: ERROR_SERVICE_START_HANG
  2261. //
  2262. // MessageText:
  2263. //
  2264. //  After starting, the service hung in a start-pending state.
  2265. //
  2266. #define ERROR_SERVICE_START_HANG         1070L
  2267.  
  2268. //
  2269. // MessageId: ERROR_INVALID_SERVICE_LOCK
  2270. //
  2271. // MessageText:
  2272. //
  2273. //  The specified service database lock is invalid.
  2274. //
  2275. #define ERROR_INVALID_SERVICE_LOCK       1071L
  2276.  
  2277. //
  2278. // MessageId: ERROR_SERVICE_MARKED_FOR_DELETE
  2279. //
  2280. // MessageText:
  2281. //
  2282. //  The specified service has been marked for deletion.
  2283. //
  2284. #define ERROR_SERVICE_MARKED_FOR_DELETE  1072L
  2285.  
  2286. //
  2287. // MessageId: ERROR_SERVICE_EXISTS
  2288. //
  2289. // MessageText:
  2290. //
  2291. //  The specified service already exists.
  2292. //
  2293. #define ERROR_SERVICE_EXISTS             1073L
  2294.  
  2295. //
  2296. // MessageId: ERROR_ALREADY_RUNNING_LKG
  2297. //
  2298. // MessageText:
  2299. //
  2300. //  The system is currently running with the last-known-good configuration.
  2301. //
  2302. #define ERROR_ALREADY_RUNNING_LKG        1074L
  2303.  
  2304. //
  2305. // MessageId: ERROR_SERVICE_DEPENDENCY_DELETED
  2306. //
  2307. // MessageText:
  2308. //
  2309. //  The dependency service does not exist or has been marked for
  2310. //  deletion.
  2311. //
  2312. #define ERROR_SERVICE_DEPENDENCY_DELETED 1075L
  2313.  
  2314. //
  2315. // MessageId: ERROR_BOOT_ALREADY_ACCEPTED
  2316. //
  2317. // MessageText:
  2318. //
  2319. //  The current boot has already been accepted for use as the
  2320. //  last-known-good control set.
  2321. //
  2322. #define ERROR_BOOT_ALREADY_ACCEPTED      1076L
  2323.  
  2324. //
  2325. // MessageId: ERROR_SERVICE_NEVER_STARTED
  2326. //
  2327. // MessageText:
  2328. //
  2329. //  No attempts to start the service have been made since the last boot.
  2330. //
  2331. #define ERROR_SERVICE_NEVER_STARTED      1077L
  2332.  
  2333. //
  2334. // MessageId: ERROR_DUPLICATE_SERVICE_NAME
  2335. //
  2336. // MessageText:
  2337. //
  2338. //  The name is already in use as either a service name or a service display
  2339. //  name.
  2340. //
  2341. #define ERROR_DUPLICATE_SERVICE_NAME     1078L
  2342.  
  2343. //
  2344. // MessageId: ERROR_END_OF_MEDIA
  2345. //
  2346. // MessageText:
  2347. //
  2348. //  The physical end of the tape has been reached.
  2349. //
  2350. #define ERROR_END_OF_MEDIA               1100L
  2351.  
  2352. //
  2353. // MessageId: ERROR_FILEMARK_DETECTED
  2354. //
  2355. // MessageText:
  2356. //
  2357. //  A tape access reached a filemark.
  2358. //
  2359. #define ERROR_FILEMARK_DETECTED          1101L
  2360.  
  2361. //
  2362. // MessageId: ERROR_BEGINNING_OF_MEDIA
  2363. //
  2364. // MessageText:
  2365. //
  2366. //  Beginning of tape or partition was encountered.
  2367. //
  2368. #define ERROR_BEGINNING_OF_MEDIA         1102L
  2369.  
  2370. //
  2371. // MessageId: ERROR_SETMARK_DETECTED
  2372. //
  2373. // MessageText:
  2374. //
  2375. //  A tape access reached the end of a set of files.
  2376. //
  2377. #define ERROR_SETMARK_DETECTED           1103L
  2378.  
  2379. //
  2380. // MessageId: ERROR_NO_DATA_DETECTED
  2381. //
  2382. // MessageText:
  2383. //
  2384. //  No more data is on the tape.
  2385. //
  2386. #define ERROR_NO_DATA_DETECTED           1104L
  2387.  
  2388. //
  2389. // MessageId: ERROR_PARTITION_FAILURE
  2390. //
  2391. // MessageText:
  2392. //
  2393. //  Tape could not be partitioned.
  2394. //
  2395. #define ERROR_PARTITION_FAILURE          1105L
  2396.  
  2397. //
  2398. // MessageId: ERROR_INVALID_BLOCK_LENGTH
  2399. //
  2400. // MessageText:
  2401. //
  2402. //  When accessing a new tape of a multivolume partition, the current
  2403. //  blocksize is incorrect.
  2404. //
  2405. #define ERROR_INVALID_BLOCK_LENGTH       1106L
  2406.  
  2407. //
  2408. // MessageId: ERROR_DEVICE_NOT_PARTITIONED
  2409. //
  2410. // MessageText:
  2411. //
  2412. //  Tape partition information could not be found when loading a tape.
  2413. //
  2414. #define ERROR_DEVICE_NOT_PARTITIONED     1107L
  2415.  
  2416. //
  2417. // MessageId: ERROR_UNABLE_TO_LOCK_MEDIA
  2418. //
  2419. // MessageText:
  2420. //
  2421. //  Unable to lock the media eject mechanism.
  2422. //
  2423. #define ERROR_UNABLE_TO_LOCK_MEDIA       1108L
  2424.  
  2425. //
  2426. // MessageId: ERROR_UNABLE_TO_UNLOAD_MEDIA
  2427. //
  2428. // MessageText:
  2429. //
  2430. //  Unable to unload the media.
  2431. //
  2432. #define ERROR_UNABLE_TO_UNLOAD_MEDIA     1109L
  2433.  
  2434. //
  2435. // MessageId: ERROR_MEDIA_CHANGED
  2436. //
  2437. // MessageText:
  2438. //
  2439. //  Media in drive may have changed.
  2440. //
  2441. #define ERROR_MEDIA_CHANGED              1110L
  2442.  
  2443. //
  2444. // MessageId: ERROR_BUS_RESET
  2445. //
  2446. // MessageText:
  2447. //
  2448. //  The I/O bus was reset.
  2449. //
  2450. #define ERROR_BUS_RESET                  1111L
  2451.  
  2452. //
  2453. // MessageId: ERROR_NO_MEDIA_IN_DRIVE
  2454. //
  2455. // MessageText:
  2456. //
  2457. //  No media in drive.
  2458. //
  2459. #define ERROR_NO_MEDIA_IN_DRIVE          1112L
  2460.  
  2461. //
  2462. // MessageId: ERROR_NO_UNICODE_TRANSLATION
  2463. //
  2464. // MessageText:
  2465. //
  2466. //  No mapping for the Unicode character exists in the target multi-byte code page.
  2467. //
  2468. #define ERROR_NO_UNICODE_TRANSLATION     1113L
  2469.  
  2470. //
  2471. // MessageId: ERROR_DLL_INIT_FAILED
  2472. //
  2473. // MessageText:
  2474. //
  2475. //  A dynamic link library (DLL) initialization routine failed.
  2476. //
  2477. #define ERROR_DLL_INIT_FAILED            1114L
  2478.  
  2479. //
  2480. // MessageId: ERROR_SHUTDOWN_IN_PROGRESS
  2481. //
  2482. // MessageText:
  2483. //
  2484. //  A system shutdown is in progress.
  2485. //
  2486. #define ERROR_SHUTDOWN_IN_PROGRESS       1115L
  2487.  
  2488. //
  2489. // MessageId: ERROR_NO_SHUTDOWN_IN_PROGRESS
  2490. //
  2491. // MessageText:
  2492. //
  2493. //  Unable to abort the system shutdown because no shutdown was in progress.
  2494. //
  2495. #define ERROR_NO_SHUTDOWN_IN_PROGRESS    1116L
  2496.  
  2497. //
  2498. // MessageId: ERROR_IO_DEVICE
  2499. //
  2500. // MessageText:
  2501. //
  2502. //  The request could not be performed because of an I/O device error.
  2503. //
  2504. #define ERROR_IO_DEVICE                  1117L
  2505.  
  2506. //
  2507. // MessageId: ERROR_SERIAL_NO_DEVICE
  2508. //
  2509. // MessageText:
  2510. //
  2511. //  No serial device was successfully initialized.  The serial driver will unload.
  2512. //
  2513. #define ERROR_SERIAL_NO_DEVICE           1118L
  2514.  
  2515. //
  2516. // MessageId: ERROR_IRQ_BUSY
  2517. //
  2518. // MessageText:
  2519. //
  2520. //  Unable to open a device that was sharing an interrupt request (IRQ)
  2521. //  with other devices. At least one other device that uses that IRQ
  2522. //  was already opened.
  2523. //
  2524. #define ERROR_IRQ_BUSY                   1119L
  2525.  
  2526. //
  2527. // MessageId: ERROR_MORE_WRITES
  2528. //
  2529. // MessageText:
  2530. //
  2531. //  A serial I/O operation was completed by another write to the serial port.
  2532. //  (The IOCTL_SERIAL_XOFF_COUNTER reached zero.)
  2533. //
  2534. #define ERROR_MORE_WRITES                1120L
  2535.  
  2536. //
  2537. // MessageId: ERROR_COUNTER_TIMEOUT
  2538. //
  2539. // MessageText:
  2540. //
  2541. //  A serial I/O operation completed because the time-out period expired.
  2542. //  (The IOCTL_SERIAL_XOFF_COUNTER did not reach zero.)
  2543. //
  2544. #define ERROR_COUNTER_TIMEOUT            1121L
  2545.  
  2546. //
  2547. // MessageId: ERROR_FLOPPY_ID_MARK_NOT_FOUND
  2548. //
  2549. // MessageText:
  2550. //
  2551. //  No ID address mark was found on the floppy disk.
  2552. //
  2553. #define ERROR_FLOPPY_ID_MARK_NOT_FOUND   1122L
  2554.  
  2555. //
  2556. // MessageId: ERROR_FLOPPY_WRONG_CYLINDER
  2557. //
  2558. // MessageText:
  2559. //
  2560. //  Mismatch between the floppy disk sector ID field and the floppy disk
  2561. //  controller track address.
  2562. //
  2563. #define ERROR_FLOPPY_WRONG_CYLINDER      1123L
  2564.  
  2565. //
  2566. // MessageId: ERROR_FLOPPY_UNKNOWN_ERROR
  2567. //
  2568. // MessageText:
  2569. //
  2570. //  The floppy disk controller reported an error that is not recognized
  2571. //  by the floppy disk driver.
  2572. //
  2573. #define ERROR_FLOPPY_UNKNOWN_ERROR       1124L
  2574.  
  2575. //
  2576. // MessageId: ERROR_FLOPPY_BAD_REGISTERS
  2577. //
  2578. // MessageText:
  2579. //
  2580. //  The floppy disk controller returned inconsistent results in its registers.
  2581. //
  2582. #define ERROR_FLOPPY_BAD_REGISTERS       1125L
  2583.  
  2584. //
  2585. // MessageId: ERROR_DISK_RECALIBRATE_FAILED
  2586. //
  2587. // MessageText:
  2588. //
  2589. //  While accessing the hard disk, a recalibrate operation failed, even after retries.
  2590. //
  2591. #define ERROR_DISK_RECALIBRATE_FAILED    1126L
  2592.  
  2593. //
  2594. // MessageId: ERROR_DISK_OPERATION_FAILED
  2595. //
  2596. // MessageText:
  2597. //
  2598. //  While accessing the hard disk, a disk operation failed even after retries.
  2599. //
  2600. #define ERROR_DISK_OPERATION_FAILED      1127L
  2601.  
  2602. //
  2603. // MessageId: ERROR_DISK_RESET_FAILED
  2604. //
  2605. // MessageText:
  2606. //
  2607. //  While accessing the hard disk, a disk controller reset was needed, but
  2608. //  even that failed.
  2609. //
  2610. #define ERROR_DISK_RESET_FAILED          1128L
  2611.  
  2612. //
  2613. // MessageId: ERROR_EOM_OVERFLOW
  2614. //
  2615. // MessageText:
  2616. //
  2617. //  Physical end of tape encountered.
  2618. //
  2619. #define ERROR_EOM_OVERFLOW               1129L
  2620.  
  2621. //
  2622. // MessageId: ERROR_NOT_ENOUGH_SERVER_MEMORY
  2623. //
  2624. // MessageText:
  2625. //
  2626. //  Not enough server storage is available to process this command.
  2627. //
  2628. #define ERROR_NOT_ENOUGH_SERVER_MEMORY   1130L
  2629.  
  2630. //
  2631. // MessageId: ERROR_POSSIBLE_DEADLOCK
  2632. //
  2633. // MessageText:
  2634. //
  2635. //  A potential deadlock condition has been detected.
  2636. //
  2637. #define ERROR_POSSIBLE_DEADLOCK          1131L
  2638.  
  2639. //
  2640. // MessageId: ERROR_MAPPED_ALIGNMENT
  2641. //
  2642. // MessageText:
  2643. //
  2644. //  The base address or the file offset specified does not have the proper
  2645. //  alignment.
  2646. //
  2647. #define ERROR_MAPPED_ALIGNMENT           1132L
  2648.  
  2649. //
  2650. // MessageId: ERROR_SET_POWER_STATE_VETOED
  2651. //
  2652. // MessageText:
  2653. //
  2654. //  An attempt to change the system power state was vetoed by another
  2655. //  application or driver.
  2656. //
  2657. #define ERROR_SET_POWER_STATE_VETOED     1140L
  2658.  
  2659. //
  2660. // MessageId: ERROR_SET_POWER_STATE_FAILED
  2661. //
  2662. // MessageText:
  2663. //
  2664. //  The system BIOS failed an attempt to change the system power state.
  2665. //
  2666. #define ERROR_SET_POWER_STATE_FAILED     1141L
  2667.  
  2668. //
  2669. // MessageId: ERROR_OLD_WIN_VERSION
  2670. //
  2671. // MessageText:
  2672. //
  2673. //  The specified program requires a newer version of Windows.
  2674. //
  2675. #define ERROR_OLD_WIN_VERSION            1150L
  2676.  
  2677. //
  2678. // MessageId: ERROR_APP_WRONG_OS
  2679. //
  2680. // MessageText:
  2681. //
  2682. //  The specified program is not a Windows or MS-DOS program.
  2683. //
  2684. #define ERROR_APP_WRONG_OS               1151L
  2685.  
  2686. //
  2687. // MessageId: ERROR_SINGLE_INSTANCE_APP
  2688. //
  2689. // MessageText:
  2690. //
  2691. //  Cannot start more than one instance of the specified program.
  2692. //
  2693. #define ERROR_SINGLE_INSTANCE_APP        1152L
  2694.  
  2695. //
  2696. // MessageId: ERROR_RMODE_APP
  2697. //
  2698. // MessageText:
  2699. //
  2700. //  The specified program was written for an older version of Windows.
  2701. //
  2702. #define ERROR_RMODE_APP                  1153L
  2703.  
  2704. //
  2705. // MessageId: ERROR_INVALID_DLL
  2706. //
  2707. // MessageText:
  2708. //
  2709. //  One of the library files needed to run this application is damaged.
  2710. //
  2711. #define ERROR_INVALID_DLL                1154L
  2712.  
  2713. //
  2714. // MessageId: ERROR_NO_ASSOCIATION
  2715. //
  2716. // MessageText:
  2717. //
  2718. //  No application is associated with the specified file for this operation.
  2719. //
  2720. #define ERROR_NO_ASSOCIATION             1155L
  2721.  
  2722. //
  2723. // MessageId: ERROR_DDE_FAIL
  2724. //
  2725. // MessageText:
  2726. //
  2727. //  An error occurred in sending the command to the application.
  2728. //
  2729. #define ERROR_DDE_FAIL                   1156L
  2730.  
  2731. //
  2732. // MessageId: ERROR_DLL_NOT_FOUND
  2733. //
  2734. // MessageText:
  2735. //
  2736. //  One of the library files needed to run this application cannot be found.
  2737. //
  2738. #define ERROR_DLL_NOT_FOUND              1157L
  2739.  
  2740.  
  2741.  
  2742.  
  2743. ///////////////////////////
  2744. //                       //
  2745. // Winnet32 Status Codes //
  2746. //                       //
  2747. ///////////////////////////
  2748.  
  2749.  
  2750. //
  2751. // MessageId: ERROR_BAD_USERNAME
  2752. //
  2753. // MessageText:
  2754. //
  2755. //  The specified username is invalid.
  2756. //
  2757. #define ERROR_BAD_USERNAME               2202L
  2758.  
  2759. //
  2760. // MessageId: ERROR_NOT_CONNECTED
  2761. //
  2762. // MessageText:
  2763. //
  2764. //  This network connection does not exist.
  2765. //
  2766. #define ERROR_NOT_CONNECTED              2250L
  2767.  
  2768. //
  2769. // MessageId: ERROR_OPEN_FILES
  2770. //
  2771. // MessageText:
  2772. //
  2773. //  This network connection has files open or requests pending.
  2774. //
  2775. #define ERROR_OPEN_FILES                 2401L
  2776.  
  2777. //
  2778. // MessageId: ERROR_ACTIVE_CONNECTIONS
  2779. //
  2780. // MessageText:
  2781. //
  2782. //  Active connections still exist.
  2783. //
  2784. #define ERROR_ACTIVE_CONNECTIONS         2402L
  2785.  
  2786. //
  2787. // MessageId: ERROR_DEVICE_IN_USE
  2788. //
  2789. // MessageText:
  2790. //
  2791. //  The device is in use by an active process and cannot be disconnected.
  2792. //
  2793. #define ERROR_DEVICE_IN_USE              2404L
  2794.  
  2795. //
  2796. // MessageId: ERROR_BAD_DEVICE
  2797. //
  2798. // MessageText:
  2799. //
  2800. //  The specified device name is invalid.
  2801. //
  2802. #define ERROR_BAD_DEVICE                 1200L
  2803.  
  2804. //
  2805. // MessageId: ERROR_CONNECTION_UNAVAIL
  2806. //
  2807. // MessageText:
  2808. //
  2809. //  The device is not currently connected but it is a remembered connection.
  2810. //
  2811. #define ERROR_CONNECTION_UNAVAIL         1201L
  2812.  
  2813. //
  2814. // MessageId: ERROR_DEVICE_ALREADY_REMEMBERED
  2815. //
  2816. // MessageText:
  2817. //
  2818. //  An attempt was made to remember a device that had previously been remembered.
  2819. //
  2820. #define ERROR_DEVICE_ALREADY_REMEMBERED  1202L
  2821.  
  2822. //
  2823. // MessageId: ERROR_NO_NET_OR_BAD_PATH
  2824. //
  2825. // MessageText:
  2826. //
  2827. //  No network provider accepted the given network path.
  2828. //
  2829. #define ERROR_NO_NET_OR_BAD_PATH         1203L
  2830.  
  2831. //
  2832. // MessageId: ERROR_BAD_PROVIDER
  2833. //
  2834. // MessageText:
  2835. //
  2836. //  The specified network provider name is invalid.
  2837. //
  2838. #define ERROR_BAD_PROVIDER               1204L
  2839.  
  2840. //
  2841. // MessageId: ERROR_CANNOT_OPEN_PROFILE
  2842. //
  2843. // MessageText:
  2844. //
  2845. //  Unable to open the network connection profile.
  2846. //
  2847. #define ERROR_CANNOT_OPEN_PROFILE        1205L
  2848.  
  2849. //
  2850. // MessageId: ERROR_BAD_PROFILE
  2851. //
  2852. // MessageText:
  2853. //
  2854. //  The network connection profile is corrupt.
  2855. //
  2856. #define ERROR_BAD_PROFILE                1206L
  2857.  
  2858. //
  2859. // MessageId: ERROR_NOT_CONTAINER
  2860. //
  2861. // MessageText:
  2862. //
  2863. //  Cannot enumerate a non-container.
  2864. //
  2865. #define ERROR_NOT_CONTAINER              1207L
  2866.  
  2867. //
  2868. // MessageId: ERROR_EXTENDED_ERROR
  2869. //
  2870. // MessageText:
  2871. //
  2872. //  An extended error has occurred.
  2873. //
  2874. #define ERROR_EXTENDED_ERROR             1208L
  2875.  
  2876. //
  2877. // MessageId: ERROR_INVALID_GROUPNAME
  2878. //
  2879. // MessageText:
  2880. //
  2881. //  The format of the specified group name is invalid.
  2882. //
  2883. #define ERROR_INVALID_GROUPNAME          1209L
  2884.  
  2885. //
  2886. // MessageId: ERROR_INVALID_COMPUTERNAME
  2887. //
  2888. // MessageText:
  2889. //
  2890. //  The format of the specified computer name is invalid.
  2891. //
  2892. #define ERROR_INVALID_COMPUTERNAME       1210L
  2893.  
  2894. //
  2895. // MessageId: ERROR_INVALID_EVENTNAME
  2896. //
  2897. // MessageText:
  2898. //
  2899. //  The format of the specified event name is invalid.
  2900. //
  2901. #define ERROR_INVALID_EVENTNAME          1211L
  2902.  
  2903. //
  2904. // MessageId: ERROR_INVALID_DOMAINNAME
  2905. //
  2906. // MessageText:
  2907. //
  2908. //  The format of the specified domain name is invalid.
  2909. //
  2910. #define ERROR_INVALID_DOMAINNAME         1212L
  2911.  
  2912. //
  2913. // MessageId: ERROR_INVALID_SERVICENAME
  2914. //
  2915. // MessageText:
  2916. //
  2917. //  The format of the specified service name is invalid.
  2918. //
  2919. #define ERROR_INVALID_SERVICENAME        1213L
  2920.  
  2921. //
  2922. // MessageId: ERROR_INVALID_NETNAME
  2923. //
  2924. // MessageText:
  2925. //
  2926. //  The format of the specified network name is invalid.
  2927. //
  2928. #define ERROR_INVALID_NETNAME            1214L
  2929.  
  2930. //
  2931. // MessageId: ERROR_INVALID_SHARENAME
  2932. //
  2933. // MessageText:
  2934. //
  2935. //  The format of the specified share name is invalid.
  2936. //
  2937. #define ERROR_INVALID_SHARENAME          1215L
  2938.  
  2939. //
  2940. // MessageId: ERROR_INVALID_PASSWORDNAME
  2941. //
  2942. // MessageText:
  2943. //
  2944. //  The format of the specified password is invalid.
  2945. //
  2946. #define ERROR_INVALID_PASSWORDNAME       1216L
  2947.  
  2948. //
  2949. // MessageId: ERROR_INVALID_MESSAGENAME
  2950. //
  2951. // MessageText:
  2952. //
  2953. //  The format of the specified message name is invalid.
  2954. //
  2955. #define ERROR_INVALID_MESSAGENAME        1217L
  2956.  
  2957. //
  2958. // MessageId: ERROR_INVALID_MESSAGEDEST
  2959. //
  2960. // MessageText:
  2961. //
  2962. //  The format of the specified message destination is invalid.
  2963. //
  2964. #define ERROR_INVALID_MESSAGEDEST        1218L
  2965.  
  2966. //
  2967. // MessageId: ERROR_SESSION_CREDENTIAL_CONFLICT
  2968. //
  2969. // MessageText:
  2970. //
  2971. //  The credentials supplied conflict with an existing set of credentials.
  2972. //
  2973. #define ERROR_SESSION_CREDENTIAL_CONFLICT 1219L
  2974.  
  2975. //
  2976. // MessageId: ERROR_REMOTE_SESSION_LIMIT_EXCEEDED
  2977. //
  2978. // MessageText:
  2979. //
  2980. //  An attempt was made to establish a session to a network server, but there
  2981. //  are already too many sessions established to that server.
  2982. //
  2983. #define ERROR_REMOTE_SESSION_LIMIT_EXCEEDED 1220L
  2984.  
  2985. //
  2986. // MessageId: ERROR_DUP_DOMAINNAME
  2987. //
  2988. // MessageText:
  2989. //
  2990. //  The workgroup or domain name is already in use by another computer on the
  2991. //  network.
  2992. //
  2993. #define ERROR_DUP_DOMAINNAME             1221L
  2994.  
  2995. //
  2996. // MessageId: ERROR_NO_NETWORK
  2997. //
  2998. // MessageText:
  2999. //
  3000. //  The network is not present or not started.
  3001. //
  3002. #define ERROR_NO_NETWORK                 1222L
  3003.  
  3004. //
  3005. // MessageId: ERROR_CANCELLED
  3006. //
  3007. // MessageText:
  3008. //
  3009. //  The operation was cancelled by the user.
  3010. //
  3011. #define ERROR_CANCELLED                  1223L
  3012.  
  3013. //
  3014. // MessageId: ERROR_USER_MAPPED_FILE
  3015. //
  3016. // MessageText:
  3017. //
  3018. //  The requested operation cannot be performed on a file with a user mapped section open.
  3019. //
  3020. #define ERROR_USER_MAPPED_FILE           1224L
  3021.  
  3022. //
  3023. // MessageId: ERROR_CONNECTION_REFUSED
  3024. //
  3025. // MessageText:
  3026. //
  3027. //  The remote system refused the network connection.
  3028. //
  3029. #define ERROR_CONNECTION_REFUSED         1225L
  3030.  
  3031. //
  3032. // MessageId: ERROR_GRACEFUL_DISCONNECT
  3033. //
  3034. // MessageText:
  3035. //
  3036. //  The network connection was gracefully closed.
  3037. //
  3038. #define ERROR_GRACEFUL_DISCONNECT        1226L
  3039.  
  3040. //
  3041. // MessageId: ERROR_ADDRESS_ALREADY_ASSOCIATED
  3042. //
  3043. // MessageText:
  3044. //
  3045. //  The network transport endpoint already has an address associated with it.
  3046. //
  3047. #define ERROR_ADDRESS_ALREADY_ASSOCIATED 1227L
  3048.  
  3049. //
  3050. // MessageId: ERROR_ADDRESS_NOT_ASSOCIATED
  3051. //
  3052. // MessageText:
  3053. //
  3054. //  An address has not yet been associated with the network endpoint.
  3055. //
  3056. #define ERROR_ADDRESS_NOT_ASSOCIATED     1228L
  3057.  
  3058. //
  3059. // MessageId: ERROR_CONNECTION_INVALID
  3060. //
  3061. // MessageText:
  3062. //
  3063. //  An operation was attempted on a non-existent network connection.
  3064. //
  3065. #define ERROR_CONNECTION_INVALID         1229L
  3066.  
  3067. //
  3068. // MessageId: ERROR_CONNECTION_ACTIVE
  3069. //
  3070. // MessageText:
  3071. //
  3072. //  An invalid operation was attempted on an active network connection.
  3073. //
  3074. #define ERROR_CONNECTION_ACTIVE          1230L
  3075.  
  3076. //
  3077. // MessageId: ERROR_NETWORK_UNREACHABLE
  3078. //
  3079. // MessageText:
  3080. //
  3081. //  The remote network is not reachable by the transport.
  3082. //
  3083. #define ERROR_NETWORK_UNREACHABLE        1231L
  3084.  
  3085. //
  3086. // MessageId: ERROR_HOST_UNREACHABLE
  3087. //
  3088. // MessageText:
  3089. //
  3090. //  The remote system is not reachable by the transport.
  3091. //
  3092. #define ERROR_HOST_UNREACHABLE           1232L
  3093.  
  3094. //
  3095. // MessageId: ERROR_PROTOCOL_UNREACHABLE
  3096. //
  3097. // MessageText:
  3098. //
  3099. //  The remote system does not support the transport protocol.
  3100. //
  3101. #define ERROR_PROTOCOL_UNREACHABLE       1233L
  3102.  
  3103. //
  3104. // MessageId: ERROR_PORT_UNREACHABLE
  3105. //
  3106. // MessageText:
  3107. //
  3108. //  No service is operating at the destination network endpoint
  3109. //  on the remote system.
  3110. //
  3111. #define ERROR_PORT_UNREACHABLE           1234L
  3112.  
  3113. //
  3114. // MessageId: ERROR_REQUEST_ABORTED
  3115. //
  3116. // MessageText:
  3117. //
  3118. //  The request was aborted.
  3119. //
  3120. #define ERROR_REQUEST_ABORTED            1235L
  3121.  
  3122. //
  3123. // MessageId: ERROR_CONNECTION_ABORTED
  3124. //
  3125. // MessageText:
  3126. //
  3127. //  The network connection was aborted by the local system.
  3128. //
  3129. #define ERROR_CONNECTION_ABORTED         1236L
  3130.  
  3131. //
  3132. // MessageId: ERROR_RETRY
  3133. //
  3134. // MessageText:
  3135. //
  3136. //  The operation could not be completed.  A retry should be performed.
  3137. //
  3138. #define ERROR_RETRY                      1237L
  3139.  
  3140. //
  3141. // MessageId: ERROR_CONNECTION_COUNT_LIMIT
  3142. //
  3143. // MessageText:
  3144. //
  3145. //  A connection to the server could not be made because the limit on the number of
  3146. //  concurrent connections for this account has been reached.
  3147. //
  3148. #define ERROR_CONNECTION_COUNT_LIMIT     1238L
  3149.  
  3150. //
  3151. // MessageId: ERROR_LOGIN_TIME_RESTRICTION
  3152. //
  3153. // MessageText:
  3154. //
  3155. //  Attempting to login during an unauthorized time of day for this account.
  3156. //
  3157. #define ERROR_LOGIN_TIME_RESTRICTION     1239L
  3158.  
  3159. //
  3160. // MessageId: ERROR_LOGIN_WKSTA_RESTRICTION
  3161. //
  3162. // MessageText:
  3163. //
  3164. //  The account is not authorized to login from this station.
  3165. //
  3166. #define ERROR_LOGIN_WKSTA_RESTRICTION    1240L
  3167.  
  3168. //
  3169. // MessageId: ERROR_INCORRECT_ADDRESS
  3170. //
  3171. // MessageText:
  3172. //
  3173. //  The network address could not be used for the operation requested.
  3174. //
  3175. #define ERROR_INCORRECT_ADDRESS          1241L
  3176.  
  3177. //
  3178. // MessageId: ERROR_ALREADY_REGISTERED
  3179. //
  3180. // MessageText:
  3181. //
  3182. //  The service is already registered.
  3183. //
  3184. #define ERROR_ALREADY_REGISTERED         1242L
  3185.  
  3186. //
  3187. // MessageId: ERROR_SERVICE_NOT_FOUND
  3188. //
  3189. // MessageText:
  3190. //
  3191. //  The specified service does not exist.
  3192. //
  3193. #define ERROR_SERVICE_NOT_FOUND          1243L
  3194.  
  3195. //
  3196. // MessageId: ERROR_NOT_AUTHENTICATED
  3197. //
  3198. // MessageText:
  3199. //
  3200. //  The operation being requested was not performed because the user
  3201. //  has not been authenticated.
  3202. //
  3203. #define ERROR_NOT_AUTHENTICATED          1244L
  3204.  
  3205. //
  3206. // MessageId: ERROR_NOT_LOGGED_ON
  3207. //
  3208. // MessageText:
  3209. //
  3210. //  The operation being requested was not performed because the user
  3211. //  has not logged on to the network.
  3212. //  The specified service does not exist.
  3213. //
  3214. #define ERROR_NOT_LOGGED_ON              1245L
  3215.  
  3216. //
  3217. // MessageId: ERROR_CONTINUE
  3218. //
  3219. // MessageText:
  3220. //
  3221. //  Return that wants caller to continue with work in progress.
  3222. //
  3223. #define ERROR_CONTINUE                   1246L
  3224.  
  3225. //
  3226. // MessageId: ERROR_ALREADY_INITIALIZED
  3227. //
  3228. // MessageText:
  3229. //
  3230. //  An attempt was made to perform an initialization operation when
  3231. //  initialization has already been completed.
  3232. //
  3233. #define ERROR_ALREADY_INITIALIZED        1247L
  3234.  
  3235. //
  3236. // MessageId: ERROR_NO_MORE_DEVICES
  3237. //
  3238. // MessageText:
  3239. //
  3240. //  No more local devices.
  3241. //
  3242. #define ERROR_NO_MORE_DEVICES            1248L
  3243.  
  3244.  
  3245.  
  3246.  
  3247. ///////////////////////////
  3248. //                       //
  3249. // Security Status Codes //
  3250. //                       //
  3251. ///////////////////////////
  3252.  
  3253.  
  3254. //
  3255. // MessageId: ERROR_NOT_ALL_ASSIGNED
  3256. //
  3257. // MessageText:
  3258. //
  3259. //  Not all privileges referenced are assigned to the caller.
  3260. //
  3261. #define ERROR_NOT_ALL_ASSIGNED           1300L
  3262.  
  3263. //
  3264. // MessageId: ERROR_SOME_NOT_MAPPED
  3265. //
  3266. // MessageText:
  3267. //
  3268. //  Some mapping between account names and security IDs was not done.
  3269. //
  3270. #define ERROR_SOME_NOT_MAPPED            1301L
  3271.  
  3272. //
  3273. // MessageId: ERROR_NO_QUOTAS_FOR_ACCOUNT
  3274. //
  3275. // MessageText:
  3276. //
  3277. //  No system quota limits are specifically set for this account.
  3278. //
  3279. #define ERROR_NO_QUOTAS_FOR_ACCOUNT      1302L
  3280.  
  3281. //
  3282. // MessageId: ERROR_LOCAL_USER_SESSION_KEY
  3283. //
  3284. // MessageText:
  3285. //
  3286. //  No encryption key is available.  A well-known encryption key was returned.
  3287. //
  3288. #define ERROR_LOCAL_USER_SESSION_KEY     1303L
  3289.  
  3290. //
  3291. // MessageId: ERROR_NULL_LM_PASSWORD
  3292. //
  3293. // MessageText:
  3294. //
  3295. //  The NT password is too complex to be converted to a LAN Manager
  3296. //  password.  The LAN Manager password returned is a NULL string.
  3297. //
  3298. #define ERROR_NULL_LM_PASSWORD           1304L
  3299.  
  3300. //
  3301. // MessageId: ERROR_UNKNOWN_REVISION
  3302. //
  3303. // MessageText:
  3304. //
  3305. //  The revision level is unknown.
  3306. //
  3307. #define ERROR_UNKNOWN_REVISION           1305L
  3308.  
  3309. //
  3310. // MessageId: ERROR_REVISION_MISMATCH
  3311. //
  3312. // MessageText:
  3313. //
  3314. //  Indicates two revision levels are incompatible.
  3315. //
  3316. #define ERROR_REVISION_MISMATCH          1306L
  3317.  
  3318. //
  3319. // MessageId: ERROR_INVALID_OWNER
  3320. //
  3321. // MessageText:
  3322. //
  3323. //  This security ID may not be assigned as the owner of this object.
  3324. //
  3325. #define ERROR_INVALID_OWNER              1307L
  3326.  
  3327. //
  3328. // MessageId: ERROR_INVALID_PRIMARY_GROUP
  3329. //
  3330. // MessageText:
  3331. //
  3332. //  This security ID may not be assigned as the primary group of an object.
  3333. //
  3334. #define ERROR_INVALID_PRIMARY_GROUP      1308L
  3335.  
  3336. //
  3337. // MessageId: ERROR_NO_IMPERSONATION_TOKEN
  3338. //
  3339. // MessageText:
  3340. //
  3341. //  An attempt has been made to operate on an impersonation token
  3342. //  by a thread that is not currently impersonating a client.
  3343. //
  3344. #define ERROR_NO_IMPERSONATION_TOKEN     1309L
  3345.  
  3346. //
  3347. // MessageId: ERROR_CANT_DISABLE_MANDATORY
  3348. //
  3349. // MessageText:
  3350. //
  3351. //  The group may not be disabled.
  3352. //
  3353. #define ERROR_CANT_DISABLE_MANDATORY     1310L
  3354.  
  3355. //
  3356. // MessageId: ERROR_NO_LOGON_SERVERS
  3357. //
  3358. // MessageText:
  3359. //
  3360. //  There are currently no logon servers available to service the logon
  3361. //  request.
  3362. //
  3363. #define ERROR_NO_LOGON_SERVERS           1311L
  3364.  
  3365. //
  3366. // MessageId: ERROR_NO_SUCH_LOGON_SESSION
  3367. //
  3368. // MessageText:
  3369. //
  3370. //   A specified logon session does not exist.  It may already have
  3371. //   been terminated.
  3372. //
  3373. #define ERROR_NO_SUCH_LOGON_SESSION      1312L
  3374.  
  3375. //
  3376. // MessageId: ERROR_NO_SUCH_PRIVILEGE
  3377. //
  3378. // MessageText:
  3379. //
  3380. //   A specified privilege does not exist.
  3381. //
  3382. #define ERROR_NO_SUCH_PRIVILEGE          1313L
  3383.  
  3384. //
  3385. // MessageId: ERROR_PRIVILEGE_NOT_HELD
  3386. //
  3387. // MessageText:
  3388. //
  3389. //   A required privilege is not held by the client.
  3390. //
  3391. #define ERROR_PRIVILEGE_NOT_HELD         1314L
  3392.  
  3393. //
  3394. // MessageId: ERROR_INVALID_ACCOUNT_NAME
  3395. //
  3396. // MessageText:
  3397. //
  3398. //  The name provided is not a properly formed account name.
  3399. //
  3400. #define ERROR_INVALID_ACCOUNT_NAME       1315L
  3401.  
  3402. //
  3403. // MessageId: ERROR_USER_EXISTS
  3404. //
  3405. // MessageText:
  3406. //
  3407. //  The specified user already exists.
  3408. //
  3409. #define ERROR_USER_EXISTS                1316L
  3410.  
  3411. //
  3412. // MessageId: ERROR_NO_SUCH_USER
  3413. //
  3414. // MessageText:
  3415. //
  3416. //  The specified user does not exist.
  3417. //
  3418. #define ERROR_NO_SUCH_USER               1317L
  3419.  
  3420. //
  3421. // MessageId: ERROR_GROUP_EXISTS
  3422. //
  3423. // MessageText:
  3424. //
  3425. //  The specified group already exists.
  3426. //
  3427. #define ERROR_GROUP_EXISTS               1318L
  3428.  
  3429. //
  3430. // MessageId: ERROR_NO_SUCH_GROUP
  3431. //
  3432. // MessageText:
  3433. //
  3434. //  The specified group does not exist.
  3435. //
  3436. #define ERROR_NO_SUCH_GROUP              1319L
  3437.  
  3438. //
  3439. // MessageId: ERROR_MEMBER_IN_GROUP
  3440. //
  3441. // MessageText:
  3442. //
  3443. //  Either the specified user account is already a member of the specified
  3444. //  group, or the specified group cannot be deleted because it contains
  3445. //  a member.
  3446. //
  3447. #define ERROR_MEMBER_IN_GROUP            1320L
  3448.  
  3449. //
  3450. // MessageId: ERROR_MEMBER_NOT_IN_GROUP
  3451. //
  3452. // MessageText:
  3453. //
  3454. //  The specified user account is not a member of the specified group account.
  3455. //
  3456. #define ERROR_MEMBER_NOT_IN_GROUP        1321L
  3457.  
  3458. //
  3459. // MessageId: ERROR_LAST_ADMIN
  3460. //
  3461. // MessageText:
  3462. //
  3463. //  The last remaining administration account cannot be disabled
  3464. //  or deleted.
  3465. //
  3466. #define ERROR_LAST_ADMIN                 1322L
  3467.  
  3468. //
  3469. // MessageId: ERROR_WRONG_PASSWORD
  3470. //
  3471. // MessageText:
  3472. //
  3473. //  Unable to update the password.  The value provided as the current
  3474. //  password is incorrect.
  3475. //
  3476. #define ERROR_WRONG_PASSWORD             1323L
  3477.  
  3478. //
  3479. // MessageId: ERROR_ILL_FORMED_PASSWORD
  3480. //
  3481. // MessageText:
  3482. //
  3483. //  Unable to update the password.  The value provided for the new password
  3484. //  contains values that are not allowed in passwords.
  3485. //
  3486. #define ERROR_ILL_FORMED_PASSWORD        1324L
  3487.  
  3488. //
  3489. // MessageId: ERROR_PASSWORD_RESTRICTION
  3490. //
  3491. // MessageText:
  3492. //
  3493. //  Unable to update the password because a password update rule has been
  3494. //  violated.
  3495. //
  3496. #define ERROR_PASSWORD_RESTRICTION       1325L
  3497.  
  3498. //
  3499. // MessageId: ERROR_LOGON_FAILURE
  3500. //
  3501. // MessageText:
  3502. //
  3503. //  Logon failure: unknown user name or bad password.
  3504. //
  3505. #define ERROR_LOGON_FAILURE              1326L
  3506.  
  3507. //
  3508. // MessageId: ERROR_ACCOUNT_RESTRICTION
  3509. //
  3510. // MessageText:
  3511. //
  3512. //  Logon failure: user account restriction.
  3513. //
  3514. #define ERROR_ACCOUNT_RESTRICTION        1327L
  3515.  
  3516. //
  3517. // MessageId: ERROR_INVALID_LOGON_HOURS
  3518. //
  3519. // MessageText:
  3520. //
  3521. //  Logon failure: account logon time restriction violation.
  3522. //
  3523. #define ERROR_INVALID_LOGON_HOURS        1328L
  3524.  
  3525. //
  3526. // MessageId: ERROR_INVALID_WORKSTATION
  3527. //
  3528. // MessageText:
  3529. //
  3530. //  Logon failure: user not allowed to log on to this computer.
  3531. //
  3532. #define ERROR_INVALID_WORKSTATION        1329L
  3533.  
  3534. //
  3535. // MessageId: ERROR_PASSWORD_EXPIRED
  3536. //
  3537. // MessageText:
  3538. //
  3539. //  Logon failure: the specified account password has expired.
  3540. //
  3541. #define ERROR_PASSWORD_EXPIRED           1330L
  3542.  
  3543. //
  3544. // MessageId: ERROR_ACCOUNT_DISABLED
  3545. //
  3546. // MessageText:
  3547. //
  3548. //  Logon failure: account currently disabled.
  3549. //
  3550. #define ERROR_ACCOUNT_DISABLED           1331L
  3551.  
  3552. //
  3553. // MessageId: ERROR_NONE_MAPPED
  3554. //
  3555. // MessageText:
  3556. //
  3557. //  No mapping between account names and security IDs was done.
  3558. //
  3559. #define ERROR_NONE_MAPPED                1332L
  3560.  
  3561. //
  3562. // MessageId: ERROR_TOO_MANY_LUIDS_REQUESTED
  3563. //
  3564. // MessageText:
  3565. //
  3566. //  Too many local user identifiers (LUIDs) were requested at one time.
  3567. //
  3568. #define ERROR_TOO_MANY_LUIDS_REQUESTED   1333L
  3569.  
  3570. //
  3571. // MessageId: ERROR_LUIDS_EXHAUSTED
  3572. //
  3573. // MessageText:
  3574. //
  3575. //  No more local user identifiers (LUIDs) are available.
  3576. //
  3577. #define ERROR_LUIDS_EXHAUSTED            1334L
  3578.  
  3579. //
  3580. // MessageId: ERROR_INVALID_SUB_AUTHORITY
  3581. //
  3582. // MessageText:
  3583. //
  3584. //  The subauthority part of a security ID is invalid for this particular use.
  3585. //
  3586. #define ERROR_INVALID_SUB_AUTHORITY      1335L
  3587.  
  3588. //
  3589. // MessageId: ERROR_INVALID_ACL
  3590. //
  3591. // MessageText:
  3592. //
  3593. //  The access control list (ACL) structure is invalid.
  3594. //
  3595. #define ERROR_INVALID_ACL                1336L
  3596.  
  3597. //
  3598. // MessageId: ERROR_INVALID_SID
  3599. //
  3600. // MessageText:
  3601. //
  3602. //  The security ID structure is invalid.
  3603. //
  3604. #define ERROR_INVALID_SID                1337L
  3605.  
  3606. //
  3607. // MessageId: ERROR_INVALID_SECURITY_DESCR
  3608. //
  3609. // MessageText:
  3610. //
  3611. //  The security descriptor structure is invalid.
  3612. //
  3613. #define ERROR_INVALID_SECURITY_DESCR     1338L
  3614.  
  3615. //
  3616. // MessageId: ERROR_BAD_INHERITANCE_ACL
  3617. //
  3618. // MessageText:
  3619. //
  3620. //  The inherited access control list (ACL) or access control entry (ACE)
  3621. //  could not be built.
  3622. //
  3623. #define ERROR_BAD_INHERITANCE_ACL        1340L
  3624.  
  3625. //
  3626. // MessageId: ERROR_SERVER_DISABLED
  3627. //
  3628. // MessageText:
  3629. //
  3630. //  The server is currently disabled.
  3631. //
  3632. #define ERROR_SERVER_DISABLED            1341L
  3633.  
  3634. //
  3635. // MessageId: ERROR_SERVER_NOT_DISABLED
  3636. //
  3637. // MessageText:
  3638. //
  3639. //  The server is currently enabled.
  3640. //
  3641. #define ERROR_SERVER_NOT_DISABLED        1342L
  3642.  
  3643. //
  3644. // MessageId: ERROR_INVALID_ID_AUTHORITY
  3645. //
  3646. // MessageText:
  3647. //
  3648. //  The value provided was an invalid value for an identifier authority.
  3649. //
  3650. #define ERROR_INVALID_ID_AUTHORITY       1343L
  3651.  
  3652. //
  3653. // MessageId: ERROR_ALLOTTED_SPACE_EXCEEDED
  3654. //
  3655. // MessageText:
  3656. //
  3657. //  No more memory is available for security information updates.
  3658. //
  3659. #define ERROR_ALLOTTED_SPACE_EXCEEDED    1344L
  3660.  
  3661. //
  3662. // MessageId: ERROR_INVALID_GROUP_ATTRIBUTES
  3663. //
  3664. // MessageText:
  3665. //
  3666. //  The specified attributes are invalid, or incompatible with the
  3667. //  attributes for the group as a whole.
  3668. //
  3669. #define ERROR_INVALID_GROUP_ATTRIBUTES   1345L
  3670.  
  3671. //
  3672. // MessageId: ERROR_BAD_IMPERSONATION_LEVEL
  3673. //
  3674. // MessageText:
  3675. //
  3676. //  Either a required impersonation level was not provided, or the
  3677. //  provided impersonation level is invalid.
  3678. //
  3679. #define ERROR_BAD_IMPERSONATION_LEVEL    1346L
  3680.  
  3681. //
  3682. // MessageId: ERROR_CANT_OPEN_ANONYMOUS
  3683. //
  3684. // MessageText:
  3685. //
  3686. //  Cannot open an anonymous level security token.
  3687. //
  3688. #define ERROR_CANT_OPEN_ANONYMOUS        1347L
  3689.  
  3690. //
  3691. // MessageId: ERROR_BAD_VALIDATION_CLASS
  3692. //
  3693. // MessageText:
  3694. //
  3695. //  The validation information class requested was invalid.
  3696. //
  3697. #define ERROR_BAD_VALIDATION_CLASS       1348L
  3698.  
  3699. //
  3700. // MessageId: ERROR_BAD_TOKEN_TYPE
  3701. //
  3702. // MessageText:
  3703. //
  3704. //  The type of the token is inappropriate for its attempted use.
  3705. //
  3706. #define ERROR_BAD_TOKEN_TYPE             1349L
  3707.  
  3708. //
  3709. // MessageId: ERROR_NO_SECURITY_ON_OBJECT
  3710. //
  3711. // MessageText:
  3712. //
  3713. //  Unable to perform a security operation on an object
  3714. //  which has no associated security.
  3715. //
  3716. #define ERROR_NO_SECURITY_ON_OBJECT      1350L
  3717.  
  3718. //
  3719. // MessageId: ERROR_CANT_ACCESS_DOMAIN_INFO
  3720. //
  3721. // MessageText:
  3722. //
  3723. //  Indicates a Windows NT Server could not be contacted or that
  3724. //  objects within the domain are protected such that necessary
  3725. //  information could not be retrieved.
  3726. //
  3727. #define ERROR_CANT_ACCESS_DOMAIN_INFO    1351L
  3728.  
  3729. //
  3730. // MessageId: ERROR_INVALID_SERVER_STATE
  3731. //
  3732. // MessageText:
  3733. //
  3734. //  The security account manager (SAM) or local security
  3735. //  authority (LSA) server was in the wrong state to perform
  3736. //  the security operation.
  3737. //
  3738. #define ERROR_INVALID_SERVER_STATE       1352L
  3739.  
  3740. //
  3741. // MessageId: ERROR_INVALID_DOMAIN_STATE
  3742. //
  3743. // MessageText:
  3744. //
  3745. //  The domain was in the wrong state to perform the security operation.
  3746. //
  3747. #define ERROR_INVALID_DOMAIN_STATE       1353L
  3748.  
  3749. //
  3750. // MessageId: ERROR_INVALID_DOMAIN_ROLE
  3751. //
  3752. // MessageText:
  3753. //
  3754. //  This operation is only allowed for the Primary Domain Controller of the domain.
  3755. //
  3756. #define ERROR_INVALID_DOMAIN_ROLE        1354L
  3757.  
  3758. //
  3759. // MessageId: ERROR_NO_SUCH_DOMAIN
  3760. //
  3761. // MessageText:
  3762. //
  3763. //  The specified domain did not exist.
  3764. //
  3765. #define ERROR_NO_SUCH_DOMAIN             1355L
  3766.  
  3767. //
  3768. // MessageId: ERROR_DOMAIN_EXISTS
  3769. //
  3770. // MessageText:
  3771. //
  3772. //  The specified domain already exists.
  3773. //
  3774. #define ERROR_DOMAIN_EXISTS              1356L
  3775.  
  3776. //
  3777. // MessageId: ERROR_DOMAIN_LIMIT_EXCEEDED
  3778. //
  3779. // MessageText:
  3780. //
  3781. //  An attempt was made to exceed the limit on the number of domains per server.
  3782. //
  3783. #define ERROR_DOMAIN_LIMIT_EXCEEDED      1357L
  3784.  
  3785. //
  3786. // MessageId: ERROR_INTERNAL_DB_CORRUPTION
  3787. //
  3788. // MessageText:
  3789. //
  3790. //  Unable to complete the requested operation because of either a
  3791. //  catastrophic media failure or a data structure corruption on the disk.
  3792. //
  3793. #define ERROR_INTERNAL_DB_CORRUPTION     1358L
  3794.  
  3795. //
  3796. // MessageId: ERROR_INTERNAL_ERROR
  3797. //
  3798. // MessageText:
  3799. //
  3800. //  The security account database contains an internal inconsistency.
  3801. //
  3802. #define ERROR_INTERNAL_ERROR             1359L
  3803.  
  3804. //
  3805. // MessageId: ERROR_GENERIC_NOT_MAPPED
  3806. //
  3807. // MessageText:
  3808. //
  3809. //  Generic access types were contained in an access mask which should
  3810. //  already be mapped to non-generic types.
  3811. //
  3812. #define ERROR_GENERIC_NOT_MAPPED         1360L
  3813.  
  3814. //
  3815. // MessageId: ERROR_BAD_DESCRIPTOR_FORMAT
  3816. //
  3817. // MessageText:
  3818. //
  3819. //  A security descriptor is not in the right format (absolute or self-relative).
  3820. //
  3821. #define ERROR_BAD_DESCRIPTOR_FORMAT      1361L
  3822.  
  3823. //
  3824. // MessageId: ERROR_NOT_LOGON_PROCESS
  3825. //
  3826. // MessageText:
  3827. //
  3828. //  The requested action is restricted for use by logon processes
  3829. //  only.  The calling process has not registered as a logon process.
  3830. //
  3831. #define ERROR_NOT_LOGON_PROCESS          1362L
  3832.  
  3833. //
  3834. // MessageId: ERROR_LOGON_SESSION_EXISTS
  3835. //
  3836. // MessageText:
  3837. //
  3838. //  Cannot start a new logon session with an ID that is already in use.
  3839. //
  3840. #define ERROR_LOGON_SESSION_EXISTS       1363L
  3841.  
  3842. //
  3843. // MessageId: ERROR_NO_SUCH_PACKAGE
  3844. //
  3845. // MessageText:
  3846. //
  3847. //  A specified authentication package is unknown.
  3848. //
  3849. #define ERROR_NO_SUCH_PACKAGE            1364L
  3850.  
  3851. //
  3852. // MessageId: ERROR_BAD_LOGON_SESSION_STATE
  3853. //
  3854. // MessageText:
  3855. //
  3856. //  The logon session is not in a state that is consistent with the
  3857. //  requested operation.
  3858. //
  3859. #define ERROR_BAD_LOGON_SESSION_STATE    1365L
  3860.  
  3861. //
  3862. // MessageId: ERROR_LOGON_SESSION_COLLISION
  3863. //
  3864. // MessageText:
  3865. //
  3866. //  The logon session ID is already in use.
  3867. //
  3868. #define ERROR_LOGON_SESSION_COLLISION    1366L
  3869.  
  3870. //
  3871. // MessageId: ERROR_INVALID_LOGON_TYPE
  3872. //
  3873. // MessageText:
  3874. //
  3875. //  A logon request contained an invalid logon type value.
  3876. //
  3877. #define ERROR_INVALID_LOGON_TYPE         1367L
  3878.  
  3879. //
  3880. // MessageId: ERROR_CANNOT_IMPERSONATE
  3881. //
  3882. // MessageText:
  3883. //
  3884. //  Unable to impersonate via a named pipe until data has been read
  3885. //  from that pipe.
  3886. //
  3887. #define ERROR_CANNOT_IMPERSONATE         1368L
  3888.  
  3889. //
  3890. // MessageId: ERROR_RXACT_INVALID_STATE
  3891. //
  3892. // MessageText:
  3893. //
  3894. //  The transaction state of a Registry subtree is incompatible with the
  3895. //  requested operation.
  3896. //
  3897. #define ERROR_RXACT_INVALID_STATE        1369L
  3898.  
  3899. //
  3900. // MessageId: ERROR_RXACT_COMMIT_FAILURE
  3901. //
  3902. // MessageText:
  3903. //
  3904. //  An internal security database corruption has been encountered.
  3905. //
  3906. #define ERROR_RXACT_COMMIT_FAILURE       1370L
  3907.  
  3908. //
  3909. // MessageId: ERROR_SPECIAL_ACCOUNT
  3910. //
  3911. // MessageText:
  3912. //
  3913. //  Cannot perform this operation on built-in accounts.
  3914. //
  3915. #define ERROR_SPECIAL_ACCOUNT            1371L
  3916.  
  3917. //
  3918. // MessageId: ERROR_SPECIAL_GROUP
  3919. //
  3920. // MessageText:
  3921. //
  3922. //  Cannot perform this operation on this built-in special group.
  3923. //
  3924. #define ERROR_SPECIAL_GROUP              1372L
  3925.  
  3926. //
  3927. // MessageId: ERROR_SPECIAL_USER
  3928. //
  3929. // MessageText:
  3930. //
  3931. //  Cannot perform this operation on this built-in special user.
  3932. //
  3933. #define ERROR_SPECIAL_USER               1373L
  3934.  
  3935. //
  3936. // MessageId: ERROR_MEMBERS_PRIMARY_GROUP
  3937. //
  3938. // MessageText:
  3939. //
  3940. //  The user cannot be removed from a group because the group
  3941. //  is currently the user's primary group.
  3942. //
  3943. #define ERROR_MEMBERS_PRIMARY_GROUP      1374L
  3944.  
  3945. //
  3946. // MessageId: ERROR_TOKEN_ALREADY_IN_USE
  3947. //
  3948. // MessageText:
  3949. //
  3950. //  The token is already in use as a primary token.
  3951. //
  3952. #define ERROR_TOKEN_ALREADY_IN_USE       1375L
  3953.  
  3954. //
  3955. // MessageId: ERROR_NO_SUCH_ALIAS
  3956. //
  3957. // MessageText:
  3958. //
  3959. //  The specified local group does not exist.
  3960. //
  3961. #define ERROR_NO_SUCH_ALIAS              1376L
  3962.  
  3963. //
  3964. // MessageId: ERROR_MEMBER_NOT_IN_ALIAS
  3965. //
  3966. // MessageText:
  3967. //
  3968. //  The specified account name is not a member of the local group.
  3969. //
  3970. #define ERROR_MEMBER_NOT_IN_ALIAS        1377L
  3971.  
  3972. //
  3973. // MessageId: ERROR_MEMBER_IN_ALIAS
  3974. //
  3975. // MessageText:
  3976. //
  3977. //  The specified account name is already a member of the local group.
  3978. //
  3979. #define ERROR_MEMBER_IN_ALIAS            1378L
  3980.  
  3981. //
  3982. // MessageId: ERROR_ALIAS_EXISTS
  3983. //
  3984. // MessageText:
  3985. //
  3986. //  The specified local group already exists.
  3987. //
  3988. #define ERROR_ALIAS_EXISTS               1379L
  3989.  
  3990. //
  3991. // MessageId: ERROR_LOGON_NOT_GRANTED
  3992. //
  3993. // MessageText:
  3994. //
  3995. //  Logon failure: the user has not been granted the requested
  3996. //  logon type at this computer.
  3997. //
  3998. #define ERROR_LOGON_NOT_GRANTED          1380L
  3999.  
  4000. //
  4001. // MessageId: ERROR_TOO_MANY_SECRETS
  4002. //
  4003. // MessageText:
  4004. //
  4005. //  The maximum number of secrets that may be stored in a single system has been
  4006. //  exceeded.
  4007. //
  4008. #define ERROR_TOO_MANY_SECRETS           1381L
  4009.  
  4010. //
  4011. // MessageId: ERROR_SECRET_TOO_LONG
  4012. //
  4013. // MessageText:
  4014. //
  4015. //  The length of a secret exceeds the maximum length allowed.
  4016. //
  4017. #define ERROR_SECRET_TOO_LONG            1382L
  4018.  
  4019. //
  4020. // MessageId: ERROR_INTERNAL_DB_ERROR
  4021. //
  4022. // MessageText:
  4023. //
  4024. //  The local security authority database contains an internal inconsistency.
  4025. //
  4026. #define ERROR_INTERNAL_DB_ERROR          1383L
  4027.  
  4028. //
  4029. // MessageId: ERROR_TOO_MANY_CONTEXT_IDS
  4030. //
  4031. // MessageText:
  4032. //
  4033. //  During a logon attempt, the user's security context accumulated too many
  4034. //  security IDs.
  4035. //
  4036. #define ERROR_TOO_MANY_CONTEXT_IDS       1384L
  4037.  
  4038. //
  4039. // MessageId: ERROR_LOGON_TYPE_NOT_GRANTED
  4040. //
  4041. // MessageText:
  4042. //
  4043. //  Logon failure: the user has not been granted the requested logon type
  4044. //  at this computer.
  4045. //
  4046. #define ERROR_LOGON_TYPE_NOT_GRANTED     1385L
  4047.  
  4048. //
  4049. // MessageId: ERROR_NT_CROSS_ENCRYPTION_REQUIRED
  4050. //
  4051. // MessageText:
  4052. //
  4053. //  A cross-encrypted password is necessary to change a user password.
  4054. //
  4055. #define ERROR_NT_CROSS_ENCRYPTION_REQUIRED 1386L
  4056.  
  4057. //
  4058. // MessageId: ERROR_NO_SUCH_MEMBER
  4059. //
  4060. // MessageText:
  4061. //
  4062. //  A new member could not be added to a local group because the member does
  4063. //  not exist.
  4064. //
  4065. #define ERROR_NO_SUCH_MEMBER             1387L
  4066.  
  4067. //
  4068. // MessageId: ERROR_INVALID_MEMBER
  4069. //
  4070. // MessageText:
  4071. //
  4072. //  A new member could not be added to a local group because the member has the
  4073. //  wrong account type.
  4074. //
  4075. #define ERROR_INVALID_MEMBER             1388L
  4076.  
  4077. //
  4078. // MessageId: ERROR_TOO_MANY_SIDS
  4079. //
  4080. // MessageText:
  4081. //
  4082. //  Too many security IDs have been specified.
  4083. //
  4084. #define ERROR_TOO_MANY_SIDS              1389L
  4085.  
  4086. //
  4087. // MessageId: ERROR_LM_CROSS_ENCRYPTION_REQUIRED
  4088. //
  4089. // MessageText:
  4090. //
  4091. //  A cross-encrypted password is necessary to change this user password.
  4092. //
  4093. #define ERROR_LM_CROSS_ENCRYPTION_REQUIRED 1390L
  4094.  
  4095. //
  4096. // MessageId: ERROR_NO_INHERITANCE
  4097. //
  4098. // MessageText:
  4099. //
  4100. //  Indicates an ACL contains no inheritable components
  4101. //
  4102. #define ERROR_NO_INHERITANCE             1391L
  4103.  
  4104. //
  4105. // MessageId: ERROR_FILE_CORRUPT
  4106. //
  4107. // MessageText:
  4108. //
  4109. //  The file or directory is corrupt and non-readable.
  4110. //
  4111. #define ERROR_FILE_CORRUPT               1392L
  4112.  
  4113. //
  4114. // MessageId: ERROR_DISK_CORRUPT
  4115. //
  4116. // MessageText:
  4117. //
  4118. //  The disk structure is corrupt and non-readable.
  4119. //
  4120. #define ERROR_DISK_CORRUPT               1393L
  4121.  
  4122. //
  4123. // MessageId: ERROR_NO_USER_SESSION_KEY
  4124. //
  4125. // MessageText:
  4126. //
  4127. //  There is no user session key for the specified logon session.
  4128. //
  4129. #define ERROR_NO_USER_SESSION_KEY        1394L
  4130.  
  4131. //
  4132. // MessageId: ERROR_LICENSE_QUOTA_EXCEEDED
  4133. //
  4134. // MessageText:
  4135. //
  4136. //  The service being accessed is licensed for a particular number of
  4137. //  connections. No more connections can be made to the service at this time
  4138. //  because there are already as many connections as the service can accept.
  4139. //
  4140. #define ERROR_LICENSE_QUOTA_EXCEEDED     1395L
  4141.  
  4142. // End of security error codes
  4143.  
  4144.  
  4145.  
  4146. ///////////////////////////
  4147. //                       //
  4148. // WinUser Error Codes   //
  4149. //                       //
  4150. ///////////////////////////
  4151.  
  4152.  
  4153. //
  4154. // MessageId: ERROR_INVALID_WINDOW_HANDLE
  4155. //
  4156. // MessageText:
  4157. //
  4158. //  Invalid window handle.
  4159. //
  4160. #define ERROR_INVALID_WINDOW_HANDLE      1400L
  4161.  
  4162. //
  4163. // MessageId: ERROR_INVALID_MENU_HANDLE
  4164. //
  4165. // MessageText:
  4166. //
  4167. //  Invalid menu handle.
  4168. //
  4169. #define ERROR_INVALID_MENU_HANDLE        1401L
  4170.  
  4171. //
  4172. // MessageId: ERROR_INVALID_CURSOR_HANDLE
  4173. //
  4174. // MessageText:
  4175. //
  4176. //  Invalid cursor handle.
  4177. //
  4178. #define ERROR_INVALID_CURSOR_HANDLE      1402L
  4179.  
  4180. //
  4181. // MessageId: ERROR_INVALID_ACCEL_HANDLE
  4182. //
  4183. // MessageText:
  4184. //
  4185. //  Invalid accelerator table handle.
  4186. //
  4187. #define ERROR_INVALID_ACCEL_HANDLE       1403L
  4188.  
  4189. //
  4190. // MessageId: ERROR_INVALID_HOOK_HANDLE
  4191. //
  4192. // MessageText:
  4193. //
  4194. //  Invalid hook handle.
  4195. //
  4196. #define ERROR_INVALID_HOOK_HANDLE        1404L
  4197.  
  4198. //
  4199. // MessageId: ERROR_INVALID_DWP_HANDLE
  4200. //
  4201. // MessageText:
  4202. //
  4203. //  Invalid handle to a multiple-window position structure.
  4204. //
  4205. #define ERROR_INVALID_DWP_HANDLE         1405L
  4206.  
  4207. //
  4208. // MessageId: ERROR_TLW_WITH_WSCHILD
  4209. //
  4210. // MessageText:
  4211. //
  4212. //  Cannot create a top-level child window.
  4213. //
  4214. #define ERROR_TLW_WITH_WSCHILD           1406L
  4215.  
  4216. //
  4217. // MessageId: ERROR_CANNOT_FIND_WND_CLASS
  4218. //
  4219. // MessageText:
  4220. //
  4221. //  Cannot find window class.
  4222. //
  4223. #define ERROR_CANNOT_FIND_WND_CLASS      1407L
  4224.  
  4225. //
  4226. // MessageId: ERROR_WINDOW_OF_OTHER_THREAD
  4227. //
  4228. // MessageText:
  4229. //
  4230. //  Invalid window, belongs to other thread.
  4231. //
  4232. #define ERROR_WINDOW_OF_OTHER_THREAD     1408L
  4233.  
  4234. //
  4235. // MessageId: ERROR_HOTKEY_ALREADY_REGISTERED
  4236. //
  4237. // MessageText:
  4238. //
  4239. //  Hot key is already registered.
  4240. //
  4241. #define ERROR_HOTKEY_ALREADY_REGISTERED  1409L
  4242.  
  4243. //
  4244. // MessageId: ERROR_CLASS_ALREADY_EXISTS
  4245. //
  4246. // MessageText:
  4247. //
  4248. //  Class already exists.
  4249. //
  4250. #define ERROR_CLASS_ALREADY_EXISTS       1410L
  4251.  
  4252. //
  4253. // MessageId: ERROR_CLASS_DOES_NOT_EXIST
  4254. //
  4255. // MessageText:
  4256. //
  4257. //  Class does not exist.
  4258. //
  4259. #define ERROR_CLASS_DOES_NOT_EXIST       1411L
  4260.  
  4261. //
  4262. // MessageId: ERROR_CLASS_HAS_WINDOWS
  4263. //
  4264. // MessageText:
  4265. //
  4266. //  Class still has open windows.
  4267. //
  4268. #define ERROR_CLASS_HAS_WINDOWS          1412L
  4269.  
  4270. //
  4271. // MessageId: ERROR_INVALID_INDEX
  4272. //
  4273. // MessageText:
  4274. //
  4275. //  Invalid index.
  4276. //
  4277. #define ERROR_INVALID_INDEX              1413L
  4278.  
  4279. //
  4280. // MessageId: ERROR_INVALID_ICON_HANDLE
  4281. //
  4282. // MessageText:
  4283. //
  4284. //  Invalid icon handle.
  4285. //
  4286. #define ERROR_INVALID_ICON_HANDLE        1414L
  4287.  
  4288. //
  4289. // MessageId: ERROR_PRIVATE_DIALOG_INDEX
  4290. //
  4291. // MessageText:
  4292. //
  4293. //  Using private DIALOG window words.
  4294. //
  4295. #define ERROR_PRIVATE_DIALOG_INDEX       1415L
  4296.  
  4297. //
  4298. // MessageId: ERROR_LISTBOX_ID_NOT_FOUND
  4299. //
  4300. // MessageText:
  4301. //
  4302. //  The listbox identifier was not found.
  4303. //
  4304. #define ERROR_LISTBOX_ID_NOT_FOUND       1416L
  4305.  
  4306. //
  4307. // MessageId: ERROR_NO_WILDCARD_CHARACTERS
  4308. //
  4309. // MessageText:
  4310. //
  4311. //  No wildcards were found.
  4312. //
  4313. #define ERROR_NO_WILDCARD_CHARACTERS     1417L
  4314.  
  4315. //
  4316. // MessageId: ERROR_CLIPBOARD_NOT_OPEN
  4317. //
  4318. // MessageText:
  4319. //
  4320. //  Thread does not have a clipboard open.
  4321. //
  4322. #define ERROR_CLIPBOARD_NOT_OPEN         1418L
  4323.  
  4324. //
  4325. // MessageId: ERROR_HOTKEY_NOT_REGISTERED
  4326. //
  4327. // MessageText:
  4328. //
  4329. //  Hot key is not registered.
  4330. //
  4331. #define ERROR_HOTKEY_NOT_REGISTERED      1419L
  4332.  
  4333. //
  4334. // MessageId: ERROR_WINDOW_NOT_DIALOG
  4335. //
  4336. // MessageText:
  4337. //
  4338. //  The window is not a valid dialog window.
  4339. //
  4340. #define ERROR_WINDOW_NOT_DIALOG          1420L
  4341.  
  4342. //
  4343. // MessageId: ERROR_CONTROL_ID_NOT_FOUND
  4344. //
  4345. // MessageText:
  4346. //
  4347. //  Control ID not found.
  4348. //
  4349. #define ERROR_CONTROL_ID_NOT_FOUND       1421L
  4350.  
  4351. //
  4352. // MessageId: ERROR_INVALID_COMBOBOX_MESSAGE
  4353. //
  4354. // MessageText:
  4355. //
  4356. //  Invalid message for a combo box because it does not have an edit control.
  4357. //
  4358. #define ERROR_INVALID_COMBOBOX_MESSAGE   1422L
  4359.  
  4360. //
  4361. // MessageId: ERROR_WINDOW_NOT_COMBOBOX
  4362. //
  4363. // MessageText:
  4364. //
  4365. //  The window is not a combo box.
  4366. //
  4367. #define ERROR_WINDOW_NOT_COMBOBOX        1423L
  4368.  
  4369. //
  4370. // MessageId: ERROR_INVALID_EDIT_HEIGHT
  4371. //
  4372. // MessageText:
  4373. //
  4374. //  Height must be less than 256.
  4375. //
  4376. #define ERROR_INVALID_EDIT_HEIGHT        1424L
  4377.  
  4378. //
  4379. // MessageId: ERROR_DC_NOT_FOUND
  4380. //
  4381. // MessageText:
  4382. //
  4383. //  Invalid device context (DC) handle.
  4384. //
  4385. #define ERROR_DC_NOT_FOUND               1425L
  4386.  
  4387. //
  4388. // MessageId: ERROR_INVALID_HOOK_FILTER
  4389. //
  4390. // MessageText:
  4391. //
  4392. //  Invalid hook procedure type.
  4393. //
  4394. #define ERROR_INVALID_HOOK_FILTER        1426L
  4395.  
  4396. //
  4397. // MessageId: ERROR_INVALID_FILTER_PROC
  4398. //
  4399. // MessageText:
  4400. //
  4401. //  Invalid hook procedure.
  4402. //
  4403. #define ERROR_INVALID_FILTER_PROC        1427L
  4404.  
  4405. //
  4406. // MessageId: ERROR_HOOK_NEEDS_HMOD
  4407. //
  4408. // MessageText:
  4409. //
  4410. //  Cannot set non-local hook without a module handle.
  4411. //
  4412. #define ERROR_HOOK_NEEDS_HMOD            1428L
  4413.  
  4414. //
  4415. // MessageId: ERROR_GLOBAL_ONLY_HOOK
  4416. //
  4417. // MessageText:
  4418. //
  4419. //  This hook procedure can only be set globally.
  4420. //
  4421. #define ERROR_GLOBAL_ONLY_HOOK           1429L
  4422.  
  4423. //
  4424. // MessageId: ERROR_JOURNAL_HOOK_SET
  4425. //
  4426. // MessageText:
  4427. //
  4428. //  The journal hook procedure is already installed.
  4429. //
  4430. #define ERROR_JOURNAL_HOOK_SET           1430L
  4431.  
  4432. //
  4433. // MessageId: ERROR_HOOK_NOT_INSTALLED
  4434. //
  4435. // MessageText:
  4436. //
  4437. //  The hook procedure is not installed.
  4438. //
  4439. #define ERROR_HOOK_NOT_INSTALLED         1431L
  4440.  
  4441. //
  4442. // MessageId: ERROR_INVALID_LB_MESSAGE
  4443. //
  4444. // MessageText:
  4445. //
  4446. //  Invalid message for single-selection listbox.
  4447. //
  4448. #define ERROR_INVALID_LB_MESSAGE         1432L
  4449.  
  4450. //
  4451. // MessageId: ERROR_SETCOUNT_ON_BAD_LB
  4452. //
  4453. // MessageText:
  4454. //
  4455. //  LB_SETCOUNT sent to non-lazy listbox.
  4456. //
  4457. #define ERROR_SETCOUNT_ON_BAD_LB         1433L
  4458.  
  4459. //
  4460. // MessageId: ERROR_LB_WITHOUT_TABSTOPS
  4461. //
  4462. // MessageText:
  4463. //
  4464. //  This list box does not support tab stops.
  4465. //
  4466. #define ERROR_LB_WITHOUT_TABSTOPS        1434L
  4467.  
  4468. //
  4469. // MessageId: ERROR_DESTROY_OBJECT_OF_OTHER_THREAD
  4470. //
  4471. // MessageText:
  4472. //
  4473. //  Cannot destroy object created by another thread.
  4474. //
  4475. #define ERROR_DESTROY_OBJECT_OF_OTHER_THREAD 1435L
  4476.  
  4477. //
  4478. // MessageId: ERROR_CHILD_WINDOW_MENU
  4479. //
  4480. // MessageText:
  4481. //
  4482. //  Child windows cannot have menus.
  4483. //
  4484. #define ERROR_CHILD_WINDOW_MENU          1436L
  4485.  
  4486. //
  4487. // MessageId: ERROR_NO_SYSTEM_MENU
  4488. //
  4489. // MessageText:
  4490. //
  4491. //  The window does not have a system menu.
  4492. //
  4493. #define ERROR_NO_SYSTEM_MENU             1437L
  4494.  
  4495. //
  4496. // MessageId: ERROR_INVALID_MSGBOX_STYLE
  4497. //
  4498. // MessageText:
  4499. //
  4500. //  Invalid message box style.
  4501. //
  4502. #define ERROR_INVALID_MSGBOX_STYLE       1438L
  4503.  
  4504. //
  4505. // MessageId: ERROR_INVALID_SPI_VALUE
  4506. //
  4507. // MessageText:
  4508. //
  4509. //  Invalid system-wide (SPI_*) parameter.
  4510. //
  4511. #define ERROR_INVALID_SPI_VALUE          1439L
  4512.  
  4513. //
  4514. // MessageId: ERROR_SCREEN_ALREADY_LOCKED
  4515. //
  4516. // MessageText:
  4517. //
  4518. //  Screen already locked.
  4519. //
  4520. #define ERROR_SCREEN_ALREADY_LOCKED      1440L
  4521.  
  4522. //
  4523. // MessageId: ERROR_HWNDS_HAVE_DIFF_PARENT
  4524. //
  4525. // MessageText:
  4526. //
  4527. //  All handles to windows in a multiple-window position structure must
  4528. //  have the same parent.
  4529. //
  4530. #define ERROR_HWNDS_HAVE_DIFF_PARENT     1441L
  4531.  
  4532. //
  4533. // MessageId: ERROR_NOT_CHILD_WINDOW
  4534. //
  4535. // MessageText:
  4536. //
  4537. //  The window is not a child window.
  4538. //
  4539. #define ERROR_NOT_CHILD_WINDOW           1442L
  4540.  
  4541. //
  4542. // MessageId: ERROR_INVALID_GW_COMMAND
  4543. //
  4544. // MessageText:
  4545. //
  4546. //  Invalid GW_* command.
  4547. //
  4548. #define ERROR_INVALID_GW_COMMAND         1443L
  4549.  
  4550. //
  4551. // MessageId: ERROR_INVALID_THREAD_ID
  4552. //
  4553. // MessageText:
  4554. //
  4555. //  Invalid thread identifier.
  4556. //
  4557. #define ERROR_INVALID_THREAD_ID          1444L
  4558.  
  4559. //
  4560. // MessageId: ERROR_NON_MDICHILD_WINDOW
  4561. //
  4562. // MessageText:
  4563. //
  4564. //  Cannot process a message from a window that is not a multiple document
  4565. //  interface (MDI) window.
  4566. //
  4567. #define ERROR_NON_MDICHILD_WINDOW        1445L
  4568.  
  4569. //
  4570. // MessageId: ERROR_POPUP_ALREADY_ACTIVE
  4571. //
  4572. // MessageText:
  4573. //
  4574. //  Popup menu already active.
  4575. //
  4576. #define ERROR_POPUP_ALREADY_ACTIVE       1446L
  4577.  
  4578. //
  4579. // MessageId: ERROR_NO_SCROLLBARS
  4580. //
  4581. // MessageText:
  4582. //
  4583. //  The window does not have scroll bars.
  4584. //
  4585. #define ERROR_NO_SCROLLBARS              1447L
  4586.  
  4587. //
  4588. // MessageId: ERROR_INVALID_SCROLLBAR_RANGE
  4589. //
  4590. // MessageText:
  4591. //
  4592. //  Scroll bar range cannot be greater than 0x7FFF.
  4593. //
  4594. #define ERROR_INVALID_SCROLLBAR_RANGE    1448L
  4595.  
  4596. //
  4597. // MessageId: ERROR_INVALID_SHOWWIN_COMMAND
  4598. //
  4599. // MessageText:
  4600. //
  4601. //  Cannot show or remove the window in the way specified.
  4602. //
  4603. #define ERROR_INVALID_SHOWWIN_COMMAND    1449L
  4604.  
  4605. //
  4606. // MessageId: ERROR_NO_SYSTEM_RESOURCES
  4607. //
  4608. // MessageText:
  4609. //
  4610. //  Insufficient system resources exist to complete the requested service.
  4611. //
  4612. #define ERROR_NO_SYSTEM_RESOURCES        1450L
  4613.  
  4614. //
  4615. // MessageId: ERROR_NONPAGED_SYSTEM_RESOURCES
  4616. //
  4617. // MessageText:
  4618. //
  4619. //  Insufficient system resources exist to complete the requested service.
  4620. //
  4621. #define ERROR_NONPAGED_SYSTEM_RESOURCES  1451L
  4622.  
  4623. //
  4624. // MessageId: ERROR_PAGED_SYSTEM_RESOURCES
  4625. //
  4626. // MessageText:
  4627. //
  4628. //  Insufficient system resources exist to complete the requested service.
  4629. //
  4630. #define ERROR_PAGED_SYSTEM_RESOURCES     1452L
  4631.  
  4632. //
  4633. // MessageId: ERROR_WORKING_SET_QUOTA
  4634. //
  4635. // MessageText:
  4636. //
  4637. //  Insufficient quota to complete the requested service.
  4638. //
  4639. #define ERROR_WORKING_SET_QUOTA          1453L
  4640.  
  4641. //
  4642. // MessageId: ERROR_PAGEFILE_QUOTA
  4643. //
  4644. // MessageText:
  4645. //
  4646. //  Insufficient quota to complete the requested service.
  4647. //
  4648. #define ERROR_PAGEFILE_QUOTA             1454L
  4649.  
  4650. //
  4651. // MessageId: ERROR_COMMITMENT_LIMIT
  4652. //
  4653. // MessageText:
  4654. //
  4655. //  The paging file is too small for this operation to complete.
  4656. //
  4657. #define ERROR_COMMITMENT_LIMIT           1455L
  4658.  
  4659. //
  4660. // MessageId: ERROR_MENU_ITEM_NOT_FOUND
  4661. //
  4662. // MessageText:
  4663. //
  4664. //  A menu item was not found.
  4665. //
  4666. #define ERROR_MENU_ITEM_NOT_FOUND        1456L
  4667.  
  4668. // End of WinUser error codes
  4669.  
  4670.  
  4671.  
  4672. ///////////////////////////
  4673. //                       //
  4674. // Eventlog Status Codes //
  4675. //                       //
  4676. ///////////////////////////
  4677.  
  4678.  
  4679. //
  4680. // MessageId: ERROR_EVENTLOG_FILE_CORRUPT
  4681. //
  4682. // MessageText:
  4683. //
  4684. //  The event log file is corrupt.
  4685. //
  4686. #define ERROR_EVENTLOG_FILE_CORRUPT      1500L
  4687.  
  4688. //
  4689. // MessageId: ERROR_EVENTLOG_CANT_START
  4690. //
  4691. // MessageText:
  4692. //
  4693. //  No event log file could be opened, so the event logging service did not start.
  4694. //
  4695. #define ERROR_EVENTLOG_CANT_START        1501L
  4696.  
  4697. //
  4698. // MessageId: ERROR_LOG_FILE_FULL
  4699. //
  4700. // MessageText:
  4701. //
  4702. //  The event log file is full.
  4703. //
  4704. #define ERROR_LOG_FILE_FULL              1502L
  4705.  
  4706. //
  4707. // MessageId: ERROR_EVENTLOG_FILE_CHANGED
  4708. //
  4709. // MessageText:
  4710. //
  4711. //  The event log file has changed between reads.
  4712. //
  4713. #define ERROR_EVENTLOG_FILE_CHANGED      1503L
  4714.  
  4715. // End of eventlog error codes
  4716.  
  4717.  
  4718.  
  4719. ///////////////////////////
  4720. //                       //
  4721. //   RPC Status Codes    //
  4722. //                       //
  4723. ///////////////////////////
  4724.  
  4725.  
  4726. //
  4727. // MessageId: RPC_S_INVALID_STRING_BINDING
  4728. //
  4729. // MessageText:
  4730. //
  4731. //  The string binding is invalid.
  4732. //
  4733. #define RPC_S_INVALID_STRING_BINDING     1700L
  4734.  
  4735. //
  4736. // MessageId: RPC_S_WRONG_KIND_OF_BINDING
  4737. //
  4738. // MessageText:
  4739. //
  4740. //  The binding handle is not the correct type.
  4741. //
  4742. #define RPC_S_WRONG_KIND_OF_BINDING      1701L
  4743.  
  4744. //
  4745. // MessageId: RPC_S_INVALID_BINDING
  4746. //
  4747. // MessageText:
  4748. //
  4749. //  The binding handle is invalid.
  4750. //
  4751. #define RPC_S_INVALID_BINDING            1702L
  4752.  
  4753. //
  4754. // MessageId: RPC_S_PROTSEQ_NOT_SUPPORTED
  4755. //
  4756. // MessageText:
  4757. //
  4758. //  The RPC protocol sequence is not supported.
  4759. //
  4760. #define RPC_S_PROTSEQ_NOT_SUPPORTED      1703L
  4761.  
  4762. //
  4763. // MessageId: RPC_S_INVALID_RPC_PROTSEQ
  4764. //
  4765. // MessageText:
  4766. //
  4767. //  The RPC protocol sequence is invalid.
  4768. //
  4769. #define RPC_S_INVALID_RPC_PROTSEQ        1704L
  4770.  
  4771. //
  4772. // MessageId: RPC_S_INVALID_STRING_UUID
  4773. //
  4774. // MessageText:
  4775. //
  4776. //  The string universal unique identifier (UUID) is invalid.
  4777. //
  4778. #define RPC_S_INVALID_STRING_UUID        1705L
  4779.  
  4780. //
  4781. // MessageId: RPC_S_INVALID_ENDPOINT_FORMAT
  4782. //
  4783. // MessageText:
  4784. //
  4785. //  The endpoint format is invalid.
  4786. //
  4787. #define RPC_S_INVALID_ENDPOINT_FORMAT    1706L
  4788.  
  4789. //
  4790. // MessageId: RPC_S_INVALID_NET_ADDR
  4791. //
  4792. // MessageText:
  4793. //
  4794. //  The network address is invalid.
  4795. //
  4796. #define RPC_S_INVALID_NET_ADDR           1707L
  4797.  
  4798. //
  4799. // MessageId: RPC_S_NO_ENDPOINT_FOUND
  4800. //
  4801. // MessageText:
  4802. //
  4803. //  No endpoint was found.
  4804. //
  4805. #define RPC_S_NO_ENDPOINT_FOUND          1708L
  4806.  
  4807. //
  4808. // MessageId: RPC_S_INVALID_TIMEOUT
  4809. //
  4810. // MessageText:
  4811. //
  4812. //  The timeout value is invalid.
  4813. //
  4814. #define RPC_S_INVALID_TIMEOUT            1709L
  4815.  
  4816. //
  4817. // MessageId: RPC_S_OBJECT_NOT_FOUND
  4818. //
  4819. // MessageText:
  4820. //
  4821. //  The object universal unique identifier (UUID) was not found.
  4822. //
  4823. #define RPC_S_OBJECT_NOT_FOUND           1710L
  4824.  
  4825. //
  4826. // MessageId: RPC_S_ALREADY_REGISTERED
  4827. //
  4828. // MessageText:
  4829. //
  4830. //  The object universal unique identifier (UUID) has already been registered.
  4831. //
  4832. #define RPC_S_ALREADY_REGISTERED         1711L
  4833.  
  4834. //
  4835. // MessageId: RPC_S_TYPE_ALREADY_REGISTERED
  4836. //
  4837. // MessageText:
  4838. //
  4839. //  The type universal unique identifier (UUID) has already been registered.
  4840. //
  4841. #define RPC_S_TYPE_ALREADY_REGISTERED    1712L
  4842.  
  4843. //
  4844. // MessageId: RPC_S_ALREADY_LISTENING
  4845. //
  4846. // MessageText:
  4847. //
  4848. //  The RPC server is already listening.
  4849. //
  4850. #define RPC_S_ALREADY_LISTENING          1713L
  4851.  
  4852. //
  4853. // MessageId: RPC_S_NO_PROTSEQS_REGISTERED
  4854. //
  4855. // MessageText:
  4856. //
  4857. //  No protocol sequences have been registered.
  4858. //
  4859. #define RPC_S_NO_PROTSEQS_REGISTERED     1714L
  4860.  
  4861. //
  4862. // MessageId: RPC_S_NOT_LISTENING
  4863. //
  4864. // MessageText:
  4865. //
  4866. //  The RPC server is not listening.
  4867. //
  4868. #define RPC_S_NOT_LISTENING              1715L
  4869.  
  4870. //
  4871. // MessageId: RPC_S_UNKNOWN_MGR_TYPE
  4872. //
  4873. // MessageText:
  4874. //
  4875. //  The manager type is unknown.
  4876. //
  4877. #define RPC_S_UNKNOWN_MGR_TYPE           1716L
  4878.  
  4879. //
  4880. // MessageId: RPC_S_UNKNOWN_IF
  4881. //
  4882. // MessageText:
  4883. //
  4884. //  The interface is unknown.
  4885. //
  4886. #define RPC_S_UNKNOWN_IF                 1717L
  4887.  
  4888. //
  4889. // MessageId: RPC_S_NO_BINDINGS
  4890. //
  4891. // MessageText:
  4892. //
  4893. //  There are no bindings.
  4894. //
  4895. #define RPC_S_NO_BINDINGS                1718L
  4896.  
  4897. //
  4898. // MessageId: RPC_S_NO_PROTSEQS
  4899. //
  4900. // MessageText:
  4901. //
  4902. //  There are no protocol sequences.
  4903. //
  4904. #define RPC_S_NO_PROTSEQS                1719L
  4905.  
  4906. //
  4907. // MessageId: RPC_S_CANT_CREATE_ENDPOINT
  4908. //
  4909. // MessageText:
  4910. //
  4911. //  The endpoint cannot be created.
  4912. //
  4913. #define RPC_S_CANT_CREATE_ENDPOINT       1720L
  4914.  
  4915. //
  4916. // MessageId: RPC_S_OUT_OF_RESOURCES
  4917. //
  4918. // MessageText:
  4919. //
  4920. //  Not enough resources are available to complete this operation.
  4921. //
  4922. #define RPC_S_OUT_OF_RESOURCES           1721L
  4923.  
  4924. //
  4925. // MessageId: RPC_S_SERVER_UNAVAILABLE
  4926. //
  4927. // MessageText:
  4928. //
  4929. //  The RPC server is unavailable.
  4930. //
  4931. #define RPC_S_SERVER_UNAVAILABLE         1722L
  4932.  
  4933. //
  4934. // MessageId: RPC_S_SERVER_TOO_BUSY
  4935. //
  4936. // MessageText:
  4937. //
  4938. //  The RPC server is too busy to complete this operation.
  4939. //
  4940. #define RPC_S_SERVER_TOO_BUSY            1723L
  4941.  
  4942. //
  4943. // MessageId: RPC_S_INVALID_NETWORK_OPTIONS
  4944. //
  4945. // MessageText:
  4946. //
  4947. //  The network options are invalid.
  4948. //
  4949. #define RPC_S_INVALID_NETWORK_OPTIONS    1724L
  4950.  
  4951. //
  4952. // MessageId: RPC_S_NO_CALL_ACTIVE
  4953. //
  4954. // MessageText:
  4955. //
  4956. //  There is not a remote procedure call active in this thread.
  4957. //
  4958. #define RPC_S_NO_CALL_ACTIVE             1725L
  4959.  
  4960. //
  4961. // MessageId: RPC_S_CALL_FAILED
  4962. //
  4963. // MessageText:
  4964. //
  4965. //  The remote procedure call failed.
  4966. //
  4967. #define RPC_S_CALL_FAILED                1726L
  4968.  
  4969. //
  4970. // MessageId: RPC_S_CALL_FAILED_DNE
  4971. //
  4972. // MessageText:
  4973. //
  4974. //  The remote procedure call failed and did not execute.
  4975. //
  4976. #define RPC_S_CALL_FAILED_DNE            1727L
  4977.  
  4978. //
  4979. // MessageId: RPC_S_PROTOCOL_ERROR
  4980. //
  4981. // MessageText:
  4982. //
  4983. //  A remote procedure call (RPC) protocol error occurred.
  4984. //
  4985. #define RPC_S_PROTOCOL_ERROR             1728L
  4986.  
  4987. //
  4988. // MessageId: RPC_S_UNSUPPORTED_TRANS_SYN
  4989. //
  4990. // MessageText:
  4991. //
  4992. //  The transfer syntax is not supported by the RPC server.
  4993. //
  4994. #define RPC_S_UNSUPPORTED_TRANS_SYN      1730L
  4995.  
  4996. //
  4997. // MessageId: RPC_S_UNSUPPORTED_TYPE
  4998. //
  4999. // MessageText:
  5000. //
  5001. //  The universal unique identifier (UUID) type is not supported.
  5002. //
  5003. #define RPC_S_UNSUPPORTED_TYPE           1732L
  5004.  
  5005. //
  5006. // MessageId: RPC_S_INVALID_TAG
  5007. //
  5008. // MessageText:
  5009. //
  5010. //  The tag is invalid.
  5011. //
  5012. #define RPC_S_INVALID_TAG                1733L
  5013.  
  5014. //
  5015. // MessageId: RPC_S_INVALID_BOUND
  5016. //
  5017. // MessageText:
  5018. //
  5019. //  The array bounds are invalid.
  5020. //
  5021. #define RPC_S_INVALID_BOUND              1734L
  5022.  
  5023. //
  5024. // MessageId: RPC_S_NO_ENTRY_NAME
  5025. //
  5026. // MessageText:
  5027. //
  5028. //  The binding does not contain an entry name.
  5029. //
  5030. #define RPC_S_NO_ENTRY_NAME              1735L
  5031.  
  5032. //
  5033. // MessageId: RPC_S_INVALID_NAME_SYNTAX
  5034. //
  5035. // MessageText:
  5036. //
  5037. //  The name syntax is invalid.
  5038. //
  5039. #define RPC_S_INVALID_NAME_SYNTAX        1736L
  5040.  
  5041. //
  5042. // MessageId: RPC_S_UNSUPPORTED_NAME_SYNTAX
  5043. //
  5044. // MessageText:
  5045. //
  5046. //  The name syntax is not supported.
  5047. //
  5048. #define RPC_S_UNSUPPORTED_NAME_SYNTAX    1737L
  5049.  
  5050. //
  5051. // MessageId: RPC_S_UUID_NO_ADDRESS
  5052. //
  5053. // MessageText:
  5054. //
  5055. //  No network address is available to use to construct a universal
  5056. //  unique identifier (UUID).
  5057. //
  5058. #define RPC_S_UUID_NO_ADDRESS            1739L
  5059.  
  5060. //
  5061. // MessageId: RPC_S_DUPLICATE_ENDPOINT
  5062. //
  5063. // MessageText:
  5064. //
  5065. //  The endpoint is a duplicate.
  5066. //
  5067. #define RPC_S_DUPLICATE_ENDPOINT         1740L
  5068.  
  5069. //
  5070. // MessageId: RPC_S_UNKNOWN_AUTHN_TYPE
  5071. //
  5072. // MessageText:
  5073. //
  5074. //  The authentication type is unknown.
  5075. //
  5076. #define RPC_S_UNKNOWN_AUTHN_TYPE         1741L
  5077.  
  5078. //
  5079. // MessageId: RPC_S_MAX_CALLS_TOO_SMALL
  5080. //
  5081. // MessageText:
  5082. //
  5083. //  The maximum number of calls is too small.
  5084. //
  5085. #define RPC_S_MAX_CALLS_TOO_SMALL        1742L
  5086.  
  5087. //
  5088. // MessageId: RPC_S_STRING_TOO_LONG
  5089. //
  5090. // MessageText:
  5091. //
  5092. //  The string is too long.
  5093. //
  5094. #define RPC_S_STRING_TOO_LONG            1743L
  5095.  
  5096. //
  5097. // MessageId: RPC_S_PROTSEQ_NOT_FOUND
  5098. //
  5099. // MessageText:
  5100. //
  5101. //  The RPC protocol sequence was not found.
  5102. //
  5103. #define RPC_S_PROTSEQ_NOT_FOUND          1744L
  5104.  
  5105. //
  5106. // MessageId: RPC_S_PROCNUM_OUT_OF_RANGE
  5107. //
  5108. // MessageText:
  5109. //
  5110. //  The procedure number is out of range.
  5111. //
  5112. #define RPC_S_PROCNUM_OUT_OF_RANGE       1745L
  5113.  
  5114. //
  5115. // MessageId: RPC_S_BINDING_HAS_NO_AUTH
  5116. //
  5117. // MessageText:
  5118. //
  5119. //  The binding does not contain any authentication information.
  5120. //
  5121. #define RPC_S_BINDING_HAS_NO_AUTH        1746L
  5122.  
  5123. //
  5124. // MessageId: RPC_S_UNKNOWN_AUTHN_SERVICE
  5125. //
  5126. // MessageText:
  5127. //
  5128. //  The authentication service is unknown.
  5129. //
  5130. #define RPC_S_UNKNOWN_AUTHN_SERVICE      1747L
  5131.  
  5132. //
  5133. // MessageId: RPC_S_UNKNOWN_AUTHN_LEVEL
  5134. //
  5135. // MessageText:
  5136. //
  5137. //  The authentication level is unknown.
  5138. //
  5139. #define RPC_S_UNKNOWN_AUTHN_LEVEL        1748L
  5140.  
  5141. //
  5142. // MessageId: RPC_S_INVALID_AUTH_IDENTITY
  5143. //
  5144. // MessageText:
  5145. //
  5146. //  The security context is invalid.
  5147. //
  5148. #define RPC_S_INVALID_AUTH_IDENTITY      1749L
  5149.  
  5150. //
  5151. // MessageId: RPC_S_UNKNOWN_AUTHZ_SERVICE
  5152. //
  5153. // MessageText:
  5154. //
  5155. //  The authorization service is unknown.
  5156. //
  5157. #define RPC_S_UNKNOWN_AUTHZ_SERVICE      1750L
  5158.  
  5159. //
  5160. // MessageId: EPT_S_INVALID_ENTRY
  5161. //
  5162. // MessageText:
  5163. //
  5164. //  The entry is invalid.
  5165. //
  5166. #define EPT_S_INVALID_ENTRY              1751L
  5167.  
  5168. //
  5169. // MessageId: EPT_S_CANT_PERFORM_OP
  5170. //
  5171. // MessageText:
  5172. //
  5173. //  The server endpoint cannot perform the operation.
  5174. //
  5175. #define EPT_S_CANT_PERFORM_OP            1752L
  5176.  
  5177. //
  5178. // MessageId: EPT_S_NOT_REGISTERED
  5179. //
  5180. // MessageText:
  5181. //
  5182. //  There are no more endpoints available from the endpoint mapper.
  5183. //
  5184. #define EPT_S_NOT_REGISTERED             1753L
  5185.  
  5186. //
  5187. // MessageId: RPC_S_NOTHING_TO_EXPORT
  5188. //
  5189. // MessageText:
  5190. //
  5191. //  No interfaces have been exported.
  5192. //
  5193. #define RPC_S_NOTHING_TO_EXPORT          1754L
  5194.  
  5195. //
  5196. // MessageId: RPC_S_INCOMPLETE_NAME
  5197. //
  5198. // MessageText:
  5199. //
  5200. //  The entry name is incomplete.
  5201. //
  5202. #define RPC_S_INCOMPLETE_NAME            1755L
  5203.  
  5204. //
  5205. // MessageId: RPC_S_INVALID_VERS_OPTION
  5206. //
  5207. // MessageText:
  5208. //
  5209. //  The version option is invalid.
  5210. //
  5211. #define RPC_S_INVALID_VERS_OPTION        1756L
  5212.  
  5213. //
  5214. // MessageId: RPC_S_NO_MORE_MEMBERS
  5215. //
  5216. // MessageText:
  5217. //
  5218. //  There are no more members.
  5219. //
  5220. #define RPC_S_NO_MORE_MEMBERS            1757L
  5221.  
  5222. //
  5223. // MessageId: RPC_S_NOT_ALL_OBJS_UNEXPORTED
  5224. //
  5225. // MessageText:
  5226. //
  5227. //  There is nothing to unexport.
  5228. //
  5229. #define RPC_S_NOT_ALL_OBJS_UNEXPORTED    1758L
  5230.  
  5231. //
  5232. // MessageId: RPC_S_INTERFACE_NOT_FOUND
  5233. //
  5234. // MessageText:
  5235. //
  5236. //  The interface was not found.
  5237. //
  5238. #define RPC_S_INTERFACE_NOT_FOUND        1759L
  5239.  
  5240. //
  5241. // MessageId: RPC_S_ENTRY_ALREADY_EXISTS
  5242. //
  5243. // MessageText:
  5244. //
  5245. //  The entry already exists.
  5246. //
  5247. #define RPC_S_ENTRY_ALREADY_EXISTS       1760L
  5248.  
  5249. //
  5250. // MessageId: RPC_S_ENTRY_NOT_FOUND
  5251. //
  5252. // MessageText:
  5253. //
  5254. //  The entry is not found.
  5255. //
  5256. #define RPC_S_ENTRY_NOT_FOUND            1761L
  5257.  
  5258. //
  5259. // MessageId: RPC_S_NAME_SERVICE_UNAVAILABLE
  5260. //
  5261. // MessageText:
  5262. //
  5263. //  The name service is unavailable.
  5264. //
  5265. #define RPC_S_NAME_SERVICE_UNAVAILABLE   1762L
  5266.  
  5267. //
  5268. // MessageId: RPC_S_INVALID_NAF_ID
  5269. //
  5270. // MessageText:
  5271. //
  5272. //  The network address family is invalid.
  5273. //
  5274. #define RPC_S_INVALID_NAF_ID             1763L
  5275.  
  5276. //
  5277. // MessageId: RPC_S_CANNOT_SUPPORT
  5278. //
  5279. // MessageText:
  5280. //
  5281. //  The requested operation is not supported.
  5282. //
  5283. #define RPC_S_CANNOT_SUPPORT             1764L
  5284.  
  5285. //
  5286. // MessageId: RPC_S_NO_CONTEXT_AVAILABLE
  5287. //
  5288. // MessageText:
  5289. //
  5290. //  No security context is available to allow impersonation.
  5291. //
  5292. #define RPC_S_NO_CONTEXT_AVAILABLE       1765L
  5293.  
  5294. //
  5295. // MessageId: RPC_S_INTERNAL_ERROR
  5296. //
  5297. // MessageText:
  5298. //
  5299. //  An internal error occurred in a remote procedure call (RPC).
  5300. //
  5301. #define RPC_S_INTERNAL_ERROR             1766L
  5302.  
  5303. //
  5304. // MessageId: RPC_S_ZERO_DIVIDE
  5305. //
  5306. // MessageText:
  5307. //
  5308. //  The RPC server attempted an integer division by zero.
  5309. //
  5310. #define RPC_S_ZERO_DIVIDE                1767L
  5311.  
  5312. //
  5313. // MessageId: RPC_S_ADDRESS_ERROR
  5314. //
  5315. // MessageText:
  5316. //
  5317. //  An addressing error occurred in the RPC server.
  5318. //
  5319. #define RPC_S_ADDRESS_ERROR              1768L
  5320.  
  5321. //
  5322. // MessageId: RPC_S_FP_DIV_ZERO
  5323. //
  5324. // MessageText:
  5325. //
  5326. //  A floating-point operation at the RPC server caused a division by zero.
  5327. //
  5328. #define RPC_S_FP_DIV_ZERO                1769L
  5329.  
  5330. //
  5331. // MessageId: RPC_S_FP_UNDERFLOW
  5332. //
  5333. // MessageText:
  5334. //
  5335. //  A floating-point underflow occurred at the RPC server.
  5336. //
  5337. #define RPC_S_FP_UNDERFLOW               1770L
  5338.  
  5339. //
  5340. // MessageId: RPC_S_FP_OVERFLOW
  5341. //
  5342. // MessageText:
  5343. //
  5344. //  A floating-point overflow occurred at the RPC server.
  5345. //
  5346. #define RPC_S_FP_OVERFLOW                1771L
  5347.  
  5348. //
  5349. // MessageId: RPC_X_NO_MORE_ENTRIES
  5350. //
  5351. // MessageText:
  5352. //
  5353. //  The list of RPC servers available for the binding of auto handles
  5354. //  has been exhausted.
  5355. //
  5356. #define RPC_X_NO_MORE_ENTRIES            1772L
  5357.  
  5358. //
  5359. // MessageId: RPC_X_SS_CHAR_TRANS_OPEN_FAIL
  5360. //
  5361. // MessageText:
  5362. //
  5363. //  Unable to open the character translation table file.
  5364. //
  5365. #define RPC_X_SS_CHAR_TRANS_OPEN_FAIL    1773L
  5366.  
  5367. //
  5368. // MessageId: RPC_X_SS_CHAR_TRANS_SHORT_FILE
  5369. //
  5370. // MessageText:
  5371. //
  5372. //  The file containing the character translation table has fewer than
  5373. //  512 bytes.
  5374. //
  5375. #define RPC_X_SS_CHAR_TRANS_SHORT_FILE   1774L
  5376.  
  5377. //
  5378. // MessageId: RPC_X_SS_IN_NULL_CONTEXT
  5379. //
  5380. // MessageText:
  5381. //
  5382. //  A null context handle was passed from the client to the host during
  5383. //  a remote procedure call.
  5384. //
  5385. #define RPC_X_SS_IN_NULL_CONTEXT         1775L
  5386.  
  5387. //
  5388. // MessageId: RPC_X_SS_CONTEXT_DAMAGED
  5389. //
  5390. // MessageText:
  5391. //
  5392. //  The context handle changed during a remote procedure call.
  5393. //
  5394. #define RPC_X_SS_CONTEXT_DAMAGED         1777L
  5395.  
  5396. //
  5397. // MessageId: RPC_X_SS_HANDLES_MISMATCH
  5398. //
  5399. // MessageText:
  5400. //
  5401. //  The binding handles passed to a remote procedure call do not match.
  5402. //
  5403. #define RPC_X_SS_HANDLES_MISMATCH        1778L
  5404.  
  5405. //
  5406. // MessageId: RPC_X_SS_CANNOT_GET_CALL_HANDLE
  5407. //
  5408. // MessageText:
  5409. //
  5410. //  The stub is unable to get the remote procedure call handle.
  5411. //
  5412. #define RPC_X_SS_CANNOT_GET_CALL_HANDLE  1779L
  5413.  
  5414. //
  5415. // MessageId: RPC_X_NULL_REF_POINTER
  5416. //
  5417. // MessageText:
  5418. //
  5419. //  A null reference pointer was passed to the stub.
  5420. //
  5421. #define RPC_X_NULL_REF_POINTER           1780L
  5422.  
  5423. //
  5424. // MessageId: RPC_X_ENUM_VALUE_OUT_OF_RANGE
  5425. //
  5426. // MessageText:
  5427. //
  5428. //  The enumeration value is out of range.
  5429. //
  5430. #define RPC_X_ENUM_VALUE_OUT_OF_RANGE    1781L
  5431.  
  5432. //
  5433. // MessageId: RPC_X_BYTE_COUNT_TOO_SMALL
  5434. //
  5435. // MessageText:
  5436. //
  5437. //  The byte count is too small.
  5438. //
  5439. #define RPC_X_BYTE_COUNT_TOO_SMALL       1782L
  5440.  
  5441. //
  5442. // MessageId: RPC_X_BAD_STUB_DATA
  5443. //
  5444. // MessageText:
  5445. //
  5446. //  The stub received bad data.
  5447. //
  5448. #define RPC_X_BAD_STUB_DATA              1783L
  5449.  
  5450. //
  5451. // MessageId: ERROR_INVALID_USER_BUFFER
  5452. //
  5453. // MessageText:
  5454. //
  5455. //  The supplied user buffer is not valid for the requested operation.
  5456. //
  5457. #define ERROR_INVALID_USER_BUFFER        1784L
  5458.  
  5459. //
  5460. // MessageId: ERROR_UNRECOGNIZED_MEDIA
  5461. //
  5462. // MessageText:
  5463. //
  5464. //  The disk media is not recognized.  It may not be formatted.
  5465. //
  5466. #define ERROR_UNRECOGNIZED_MEDIA         1785L
  5467.  
  5468. //
  5469. // MessageId: ERROR_NO_TRUST_LSA_SECRET
  5470. //
  5471. // MessageText:
  5472. //
  5473. //  The workstation does not have a trust secret.
  5474. //
  5475. #define ERROR_NO_TRUST_LSA_SECRET        1786L
  5476.  
  5477. //
  5478. // MessageId: ERROR_NO_TRUST_SAM_ACCOUNT
  5479. //
  5480. // MessageText:
  5481. //
  5482. //  The SAM database on the Windows NT Server does not have a computer
  5483. //  account for this workstation trust relationship.
  5484. //
  5485. #define ERROR_NO_TRUST_SAM_ACCOUNT       1787L
  5486.  
  5487. //
  5488. // MessageId: ERROR_TRUSTED_DOMAIN_FAILURE
  5489. //
  5490. // MessageText:
  5491. //
  5492. //  The trust relationship between the primary domain and the trusted
  5493. //  domain failed.
  5494. //
  5495. #define ERROR_TRUSTED_DOMAIN_FAILURE     1788L
  5496.  
  5497. //
  5498. // MessageId: ERROR_TRUSTED_RELATIONSHIP_FAILURE
  5499. //
  5500. // MessageText:
  5501. //
  5502. //  The trust relationship between this workstation and the primary
  5503. //  domain failed.
  5504. //
  5505. #define ERROR_TRUSTED_RELATIONSHIP_FAILURE 1789L
  5506.  
  5507. //
  5508. // MessageId: ERROR_TRUST_FAILURE
  5509. //
  5510. // MessageText:
  5511. //
  5512. //  The network logon failed.
  5513. //
  5514. #define ERROR_TRUST_FAILURE              1790L
  5515.  
  5516. //
  5517. // MessageId: RPC_S_CALL_IN_PROGRESS
  5518. //
  5519. // MessageText:
  5520. //
  5521. //  A remote procedure call is already in progress for this thread.
  5522. //
  5523. #define RPC_S_CALL_IN_PROGRESS           1791L
  5524.  
  5525. //
  5526. // MessageId: ERROR_NETLOGON_NOT_STARTED
  5527. //
  5528. // MessageText:
  5529. //
  5530. //  An attempt was made to logon, but the network logon service was not started.
  5531. //
  5532. #define ERROR_NETLOGON_NOT_STARTED       1792L
  5533.  
  5534. //
  5535. // MessageId: ERROR_ACCOUNT_EXPIRED
  5536. //
  5537. // MessageText:
  5538. //
  5539. //  The user's account has expired.
  5540. //
  5541. #define ERROR_ACCOUNT_EXPIRED            1793L
  5542.  
  5543. //
  5544. // MessageId: ERROR_REDIRECTOR_HAS_OPEN_HANDLES
  5545. //
  5546. // MessageText:
  5547. //
  5548. //  The redirector is in use and cannot be unloaded.
  5549. //
  5550. #define ERROR_REDIRECTOR_HAS_OPEN_HANDLES 1794L
  5551.  
  5552. //
  5553. // MessageId: ERROR_PRINTER_DRIVER_ALREADY_INSTALLED
  5554. //
  5555. // MessageText:
  5556. //
  5557. //  The specified printer driver is already installed.
  5558. //
  5559. #define ERROR_PRINTER_DRIVER_ALREADY_INSTALLED 1795L
  5560.  
  5561. //
  5562. // MessageId: ERROR_UNKNOWN_PORT
  5563. //
  5564. // MessageText:
  5565. //
  5566. //  The specified port is unknown.
  5567. //
  5568. #define ERROR_UNKNOWN_PORT               1796L
  5569.  
  5570. //
  5571. // MessageId: ERROR_UNKNOWN_PRINTER_DRIVER
  5572. //
  5573. // MessageText:
  5574. //
  5575. //  The printer driver is unknown.
  5576. //
  5577. #define ERROR_UNKNOWN_PRINTER_DRIVER     1797L
  5578.  
  5579. //
  5580. // MessageId: ERROR_UNKNOWN_PRINTPROCESSOR
  5581. //
  5582. // MessageText:
  5583. //
  5584. //  The print processor is unknown.
  5585. //
  5586. #define ERROR_UNKNOWN_PRINTPROCESSOR     1798L
  5587.  
  5588. //
  5589. // MessageId: ERROR_INVALID_SEPARATOR_FILE
  5590. //
  5591. // MessageText:
  5592. //
  5593. //  The specified separator file is invalid.
  5594. //
  5595. #define ERROR_INVALID_SEPARATOR_FILE     1799L
  5596.  
  5597. //
  5598. // MessageId: ERROR_INVALID_PRIORITY
  5599. //
  5600. // MessageText:
  5601. //
  5602. //  The specified priority is invalid.
  5603. //
  5604. #define ERROR_INVALID_PRIORITY           1800L
  5605.  
  5606. //
  5607. // MessageId: ERROR_INVALID_PRINTER_NAME
  5608. //
  5609. // MessageText:
  5610. //
  5611. //  The printer name is invalid.
  5612. //
  5613. #define ERROR_INVALID_PRINTER_NAME       1801L
  5614.  
  5615. //
  5616. // MessageId: ERROR_PRINTER_ALREADY_EXISTS
  5617. //
  5618. // MessageText:
  5619. //
  5620. //  The printer already exists.
  5621. //
  5622. #define ERROR_PRINTER_ALREADY_EXISTS     1802L
  5623.  
  5624. //
  5625. // MessageId: ERROR_INVALID_PRINTER_COMMAND
  5626. //
  5627. // MessageText:
  5628. //
  5629. //  The printer command is invalid.
  5630. //
  5631. #define ERROR_INVALID_PRINTER_COMMAND    1803L
  5632.  
  5633. //
  5634. // MessageId: ERROR_INVALID_DATATYPE
  5635. //
  5636. // MessageText:
  5637. //
  5638. //  The specified datatype is invalid.
  5639. //
  5640. #define ERROR_INVALID_DATATYPE           1804L
  5641.  
  5642. //
  5643. // MessageId: ERROR_INVALID_ENVIRONMENT
  5644. //
  5645. // MessageText:
  5646. //
  5647. //  The Environment specified is invalid.
  5648. //
  5649. #define ERROR_INVALID_ENVIRONMENT        1805L
  5650.  
  5651. //
  5652. // MessageId: RPC_S_NO_MORE_BINDINGS
  5653. //
  5654. // MessageText:
  5655. //
  5656. //  There are no more bindings.
  5657. //
  5658. #define RPC_S_NO_MORE_BINDINGS           1806L
  5659.  
  5660. //
  5661. // MessageId: ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT
  5662. //
  5663. // MessageText:
  5664. //
  5665. //  The account used is an interdomain trust account.  Use your global user account or local user account to access this server.
  5666. //
  5667. #define ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT 1807L
  5668.  
  5669. //
  5670. // MessageId: ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT
  5671. //
  5672. // MessageText:
  5673. //
  5674. //  The account used is a Computer Account.  Use your global user account or local user account to access this server.
  5675. //
  5676. #define ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT 1808L
  5677.  
  5678. //
  5679. // MessageId: ERROR_NOLOGON_SERVER_TRUST_ACCOUNT
  5680. //
  5681. // MessageText:
  5682. //
  5683. //  The account used is an server trust account.  Use your global user account or local user account to access this server.
  5684. //
  5685. #define ERROR_NOLOGON_SERVER_TRUST_ACCOUNT 1809L
  5686.  
  5687. //
  5688. // MessageId: ERROR_DOMAIN_TRUST_INCONSISTENT
  5689. //
  5690. // MessageText:
  5691. //
  5692. //  The name or security ID (SID) of the domain specified is inconsistent
  5693. //  with the trust information for that domain.
  5694. //
  5695. #define ERROR_DOMAIN_TRUST_INCONSISTENT  1810L
  5696.  
  5697. //
  5698. // MessageId: ERROR_SERVER_HAS_OPEN_HANDLES
  5699. //
  5700. // MessageText:
  5701. //
  5702. //  The server is in use and cannot be unloaded.
  5703. //
  5704. #define ERROR_SERVER_HAS_OPEN_HANDLES    1811L
  5705.  
  5706. //
  5707. // MessageId: ERROR_RESOURCE_DATA_NOT_FOUND
  5708. //
  5709. // MessageText:
  5710. //
  5711. //  The specified image file did not contain a resource section.
  5712. //
  5713. #define ERROR_RESOURCE_DATA_NOT_FOUND    1812L
  5714.  
  5715. //
  5716. // MessageId: ERROR_RESOURCE_TYPE_NOT_FOUND
  5717. //
  5718. // MessageText:
  5719. //
  5720. //  The specified resource type can not be found in the image file.
  5721. //
  5722. #define ERROR_RESOURCE_TYPE_NOT_FOUND    1813L
  5723.  
  5724. //
  5725. // MessageId: ERROR_RESOURCE_NAME_NOT_FOUND
  5726. //
  5727. // MessageText:
  5728. //
  5729. //  The specified resource name can not be found in the image file.
  5730. //
  5731. #define ERROR_RESOURCE_NAME_NOT_FOUND    1814L
  5732.  
  5733. //
  5734. // MessageId: ERROR_RESOURCE_LANG_NOT_FOUND
  5735. //
  5736. // MessageText:
  5737. //
  5738. //  The specified resource language ID cannot be found in the image file.
  5739. //
  5740. #define ERROR_RESOURCE_LANG_NOT_FOUND    1815L
  5741.  
  5742. //
  5743. // MessageId: ERROR_NOT_ENOUGH_QUOTA
  5744. //
  5745. // MessageText:
  5746. //
  5747. //  Not enough quota is available to process this command.
  5748. //
  5749. #define ERROR_NOT_ENOUGH_QUOTA           1816L
  5750.  
  5751. //
  5752. // MessageId: RPC_S_NO_INTERFACES
  5753. //
  5754. // MessageText:
  5755. //
  5756. //  No interfaces have been registered.
  5757. //
  5758. #define RPC_S_NO_INTERFACES              1817L
  5759.  
  5760. //
  5761. // MessageId: RPC_S_CALL_CANCELLED
  5762. //
  5763. // MessageText:
  5764. //
  5765. //  The server was altered while processing this call.
  5766. //
  5767. #define RPC_S_CALL_CANCELLED             1818L
  5768.  
  5769. //
  5770. // MessageId: RPC_S_BINDING_INCOMPLETE
  5771. //
  5772. // MessageText:
  5773. //
  5774. //  The binding handle does not contain all required information.
  5775. //
  5776. #define RPC_S_BINDING_INCOMPLETE         1819L
  5777.  
  5778. //
  5779. // MessageId: RPC_S_COMM_FAILURE
  5780. //
  5781. // MessageText:
  5782. //
  5783. //  Communications failure.
  5784. //
  5785. #define RPC_S_COMM_FAILURE               1820L
  5786.  
  5787. //
  5788. // MessageId: RPC_S_UNSUPPORTED_AUTHN_LEVEL
  5789. //
  5790. // MessageText:
  5791. //
  5792. //  The requested authentication level is not supported.
  5793. //
  5794. #define RPC_S_UNSUPPORTED_AUTHN_LEVEL    1821L
  5795.  
  5796. //
  5797. // MessageId: RPC_S_NO_PRINC_NAME
  5798. //
  5799. // MessageText:
  5800. //
  5801. //  No principal name registered.
  5802. //
  5803. #define RPC_S_NO_PRINC_NAME              1822L
  5804.  
  5805. //
  5806. // MessageId: RPC_S_NOT_RPC_ERROR
  5807. //
  5808. // MessageText:
  5809. //
  5810. //  The error specified is not a valid Windows RPC error code.
  5811. //
  5812. #define RPC_S_NOT_RPC_ERROR              1823L
  5813.  
  5814. //
  5815. // MessageId: RPC_S_UUID_LOCAL_ONLY
  5816. //
  5817. // MessageText:
  5818. //
  5819. //  A UUID that is valid only on this computer has been allocated.
  5820. //
  5821. #define RPC_S_UUID_LOCAL_ONLY            1824L
  5822.  
  5823. //
  5824. // MessageId: RPC_S_SEC_PKG_ERROR
  5825. //
  5826. // MessageText:
  5827. //
  5828. //  A security package specific error occurred.
  5829. //
  5830. #define RPC_S_SEC_PKG_ERROR              1825L
  5831.  
  5832. //
  5833. // MessageId: RPC_S_NOT_CANCELLED
  5834. //
  5835. // MessageText:
  5836. //
  5837. //  Thread is not cancelled.
  5838. //
  5839. #define RPC_S_NOT_CANCELLED              1826L
  5840.  
  5841. //
  5842. // MessageId: RPC_X_INVALID_ES_ACTION
  5843. //
  5844. // MessageText:
  5845. //
  5846. //  Invalid operation on the encoding/decoding handle.
  5847. //
  5848. #define RPC_X_INVALID_ES_ACTION          1827L
  5849.  
  5850. //
  5851. // MessageId: RPC_X_WRONG_ES_VERSION
  5852. //
  5853. // MessageText:
  5854. //
  5855. //  Incompatible version of the serializing package.
  5856. //
  5857. #define RPC_X_WRONG_ES_VERSION           1828L
  5858.  
  5859. //
  5860. // MessageId: RPC_X_WRONG_STUB_VERSION
  5861. //
  5862. // MessageText:
  5863. //
  5864. //  Incompatible version of the RPC stub.
  5865. //
  5866. #define RPC_X_WRONG_STUB_VERSION         1829L
  5867.  
  5868. //
  5869. // MessageId: RPC_S_GROUP_MEMBER_NOT_FOUND
  5870. //
  5871. // MessageText:
  5872. //
  5873. //  The group member was not found.
  5874. //
  5875. #define RPC_S_GROUP_MEMBER_NOT_FOUND     1898L
  5876.  
  5877. //
  5878. // MessageId: EPT_S_CANT_CREATE
  5879. //
  5880. // MessageText:
  5881. //
  5882. //  The endpoint mapper database could not be created.
  5883. //
  5884. #define EPT_S_CANT_CREATE                1899L
  5885.  
  5886. //
  5887. // MessageId: RPC_S_INVALID_OBJECT
  5888. //
  5889. // MessageText:
  5890. //
  5891. //  The object universal unique identifier (UUID) is the nil UUID.
  5892. //
  5893. #define RPC_S_INVALID_OBJECT             1900L
  5894.  
  5895. //
  5896. // MessageId: ERROR_INVALID_TIME
  5897. //
  5898. // MessageText:
  5899. //
  5900. //  The specified time is invalid.
  5901. //
  5902. #define ERROR_INVALID_TIME               1901L
  5903.  
  5904. //
  5905. // MessageId: ERROR_INVALID_FORM_NAME
  5906. //
  5907. // MessageText:
  5908. //
  5909. //  The specified Form name is invalid.
  5910. //
  5911. #define ERROR_INVALID_FORM_NAME          1902L
  5912.  
  5913. //
  5914. // MessageId: ERROR_INVALID_FORM_SIZE
  5915. //
  5916. // MessageText:
  5917. //
  5918. //  The specified Form size is invalid
  5919. //
  5920. #define ERROR_INVALID_FORM_SIZE          1903L
  5921.  
  5922. //
  5923. // MessageId: ERROR_ALREADY_WAITING
  5924. //
  5925. // MessageText:
  5926. //
  5927. //  The specified Printer handle is already being waited on
  5928. //
  5929. #define ERROR_ALREADY_WAITING            1904L
  5930.  
  5931. //
  5932. // MessageId: ERROR_PRINTER_DELETED
  5933. //
  5934. // MessageText:
  5935. //
  5936. //  The specified Printer has been deleted
  5937. //
  5938. #define ERROR_PRINTER_DELETED            1905L
  5939.  
  5940. //
  5941. // MessageId: ERROR_INVALID_PRINTER_STATE
  5942. //
  5943. // MessageText:
  5944. //
  5945. //  The state of the Printer is invalid
  5946. //
  5947. #define ERROR_INVALID_PRINTER_STATE      1906L
  5948.  
  5949. //
  5950. // MessageId: ERROR_PASSWORD_MUST_CHANGE
  5951. //
  5952. // MessageText:
  5953. //
  5954. //  The user must change his password before he logs on the first time.
  5955. //
  5956. #define ERROR_PASSWORD_MUST_CHANGE       1907L
  5957.  
  5958. //
  5959. // MessageId: ERROR_DOMAIN_CONTROLLER_NOT_FOUND
  5960. //
  5961. // MessageText:
  5962. //
  5963. //  Could not find the domain controller for this domain.
  5964. //
  5965. #define ERROR_DOMAIN_CONTROLLER_NOT_FOUND 1908L
  5966.  
  5967. //
  5968. // MessageId: ERROR_ACCOUNT_LOCKED_OUT
  5969. //
  5970. // MessageText:
  5971. //
  5972. //  The referenced account is currently locked out and may not be logged on to.
  5973. //
  5974. #define ERROR_ACCOUNT_LOCKED_OUT         1909L
  5975.  
  5976. //
  5977. // MessageId: ERROR_NO_BROWSER_SERVERS_FOUND
  5978. //
  5979. // MessageText:
  5980. //
  5981. //  The list of servers for this workgroup is not currently available
  5982. //
  5983. #define ERROR_NO_BROWSER_SERVERS_FOUND   6118L
  5984.  
  5985.  
  5986.  
  5987.  
  5988. ///////////////////////////
  5989. //                       //
  5990. //   OpenGL Error Code   //
  5991. //                       //
  5992. ///////////////////////////
  5993.  
  5994.  
  5995. //
  5996. // MessageId: ERROR_INVALID_PIXEL_FORMAT
  5997. //
  5998. // MessageText:
  5999. //
  6000. //  The pixel format is invalid.
  6001. //
  6002. #define ERROR_INVALID_PIXEL_FORMAT       2000L
  6003.  
  6004. //
  6005. // MessageId: ERROR_BAD_DRIVER
  6006. //
  6007. // MessageText:
  6008. //
  6009. //  The specified driver is invalid.
  6010. //
  6011. #define ERROR_BAD_DRIVER                 2001L
  6012.  
  6013. //
  6014. // MessageId: ERROR_INVALID_WINDOW_STYLE
  6015. //
  6016. // MessageText:
  6017. //
  6018. //  The window style or class attribute is invalid for this operation.
  6019. //
  6020. #define ERROR_INVALID_WINDOW_STYLE       2002L
  6021.  
  6022. //
  6023. // MessageId: ERROR_METAFILE_NOT_SUPPORTED
  6024. //
  6025. // MessageText:
  6026. //
  6027. //  The requested metafile operation is not supported.
  6028. //
  6029. #define ERROR_METAFILE_NOT_SUPPORTED     2003L
  6030.  
  6031. //
  6032. // MessageId: ERROR_TRANSFORM_NOT_SUPPORTED
  6033. //
  6034. // MessageText:
  6035. //
  6036. //  The requested transformation operation is not supported.
  6037. //
  6038. #define ERROR_TRANSFORM_NOT_SUPPORTED    2004L
  6039.  
  6040. //
  6041. // MessageId: ERROR_CLIPPING_NOT_SUPPORTED
  6042. //
  6043. // MessageText:
  6044. //
  6045. //  The requested clipping operation is not supported.
  6046. //
  6047. #define ERROR_CLIPPING_NOT_SUPPORTED     2005L
  6048.  
  6049. // End of OpenGL error codes
  6050.  
  6051.  
  6052.  
  6053. ////////////////////////////////////
  6054. //                                //
  6055. //     Win32 Spooler Error Codes  //
  6056. //                                //
  6057. ////////////////////////////////////
  6058. //
  6059. // MessageId: ERROR_UNKNOWN_PRINT_MONITOR
  6060. //
  6061. // MessageText:
  6062. //
  6063. //  The specified print monitor is unknown.
  6064. //
  6065. #define ERROR_UNKNOWN_PRINT_MONITOR      3000L
  6066.  
  6067. //
  6068. // MessageId: ERROR_PRINTER_DRIVER_IN_USE
  6069. //
  6070. // MessageText:
  6071. //
  6072. //  The specified printer driver is currently in use.
  6073. //
  6074. #define ERROR_PRINTER_DRIVER_IN_USE      3001L
  6075.  
  6076. //
  6077. // MessageId: ERROR_SPOOL_FILE_NOT_FOUND
  6078. //
  6079. // MessageText:
  6080. //
  6081. //  The spool file was not found.
  6082. //
  6083. #define ERROR_SPOOL_FILE_NOT_FOUND       3002L
  6084.  
  6085. //
  6086. // MessageId: ERROR_SPL_NO_STARTDOC
  6087. //
  6088. // MessageText:
  6089. //
  6090. //  A StartDocPrinter call was not issued.
  6091. //
  6092. #define ERROR_SPL_NO_STARTDOC            3003L
  6093.  
  6094. //
  6095. // MessageId: ERROR_SPL_NO_ADDJOB
  6096. //
  6097. // MessageText:
  6098. //
  6099. //  An AddJob call was not issued.
  6100. //
  6101. #define ERROR_SPL_NO_ADDJOB              3004L
  6102.  
  6103. //
  6104. // MessageId: ERROR_PRINT_PROCESSOR_ALREADY_INSTALLED
  6105. //
  6106. // MessageText:
  6107. //
  6108. //  The specified print processor has already been installed.
  6109. //
  6110. #define ERROR_PRINT_PROCESSOR_ALREADY_INSTALLED 3005L
  6111.  
  6112. //
  6113. // MessageId: ERROR_PRINT_MONITOR_ALREADY_INSTALLED
  6114. //
  6115. // MessageText:
  6116. //
  6117. //  The specified print monitor has already been installed.
  6118. //
  6119. #define ERROR_PRINT_MONITOR_ALREADY_INSTALLED 3006L
  6120.  
  6121. ////////////////////////////////////
  6122. //                                //
  6123. //     Wins Error Codes           //
  6124. //                                //
  6125. ////////////////////////////////////
  6126. //
  6127. // MessageId: ERROR_WINS_INTERNAL
  6128. //
  6129. // MessageText:
  6130. //
  6131. //  WINS encountered an error while processing the command.
  6132. //
  6133. #define ERROR_WINS_INTERNAL              4000L
  6134.  
  6135. //
  6136. // MessageId: ERROR_CAN_NOT_DEL_LOCAL_WINS
  6137. //
  6138. // MessageText:
  6139. //
  6140. //  The local WINS can not be deleted.
  6141. //
  6142. #define ERROR_CAN_NOT_DEL_LOCAL_WINS     4001L
  6143.  
  6144. //
  6145. // MessageId: ERROR_STATIC_INIT
  6146. //
  6147. // MessageText:
  6148. //
  6149. //  The importation from the file failed.
  6150. //
  6151. #define ERROR_STATIC_INIT                4002L
  6152.  
  6153. //
  6154. // MessageId: ERROR_INC_BACKUP
  6155. //
  6156. // MessageText:
  6157. //
  6158. //  The backup Failed.  Was a full backup done before ?
  6159. //
  6160. #define ERROR_INC_BACKUP                 4003L
  6161.  
  6162. //
  6163. // MessageId: ERROR_FULL_BACKUP
  6164. //
  6165. // MessageText:
  6166. //
  6167. //  The backup Failed.  Check the directory that you are backing the database to.
  6168. //
  6169. #define ERROR_FULL_BACKUP                4004L
  6170.  
  6171. //
  6172. // MessageId: ERROR_REC_NON_EXISTENT
  6173. //
  6174. // MessageText:
  6175. //
  6176. //  The name does not exist in the WINS database.
  6177. //
  6178. #define ERROR_REC_NON_EXISTENT           4005L
  6179.  
  6180. //
  6181. // MessageId: ERROR_RPL_NOT_ALLOWED
  6182. //
  6183. // MessageText:
  6184. //
  6185. //  Replication with a non-configured partner is not allowed.
  6186. //
  6187. #define ERROR_RPL_NOT_ALLOWED            4006L
  6188.  
  6189. ////////////////////////////////////
  6190. //                                //
  6191. //     OLE Error Codes            //
  6192. //                                //
  6193. ////////////////////////////////////
  6194.  
  6195. //
  6196. // OLE error definitions and values
  6197. //
  6198. // The return value of OLE APIs and methods is an HRESULT.
  6199. // This is not a handle to anything, but is merely a 32-bit value
  6200. // with several fields encoded in the value.  The parts of an 
  6201. // HRESULT are shown below.  
  6202. //
  6203. // Many of the macros and functions below were orginally defined to 
  6204. // operate on SCODEs.  SCODEs are no longer used.  The macros are 
  6205. // still present for compatibility and easy porting of Win16 code.
  6206. // Newly written code should use the HRESULT macros and functions.
  6207. //
  6208.  
  6209. //
  6210. //  HRESULTs are 32 bit values layed out as follows:
  6211. //
  6212. //   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  6213. //   1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
  6214. //  +-+-+-+-+-+---------------------+-------------------------------+
  6215. //  |S|R|C|N|r|    Facility         |               Code            |
  6216. //  +-+-+-+-+-+---------------------+-------------------------------+
  6217. //
  6218. //  where
  6219. //
  6220. //      S - Severity - indicates success/fail
  6221. //
  6222. //          0 - Success
  6223. //          1 - Fail (COERROR)
  6224. //
  6225. //      R - reserved portion of the facility code, corresponds to NT's
  6226. //              second severity bit.
  6227. //
  6228. //      C - reserved portion of the facility code, corresponds to NT's
  6229. //              C field.
  6230. //
  6231. //      N - reserved portion of the facility code. Used to indicate a
  6232. //              mapped NT status value.
  6233. //
  6234. //      r - reserved portion of the facility code. Reserved for internal
  6235. //              use. Used to indicate HRESULT values that are not status
  6236. //              values, but are instead message ids for display strings.
  6237. //
  6238. //      Facility - is the facility code
  6239. //
  6240. //      Code - is the facility's status code
  6241. //
  6242.  
  6243. //
  6244. // Severity values
  6245. //
  6246.  
  6247. #define SEVERITY_SUCCESS    0
  6248. #define SEVERITY_ERROR      1
  6249.  
  6250.  
  6251. //
  6252. // Generic test for success on any status value (non-negative numbers
  6253. // indicate success).
  6254. //
  6255.  
  6256. #define SUCCEEDED(Status) ((HRESULT)(Status) >= 0)
  6257.  
  6258. //
  6259. // and the inverse
  6260. //
  6261.  
  6262. #define FAILED(Status) ((HRESULT)(Status)<0)
  6263.  
  6264.  
  6265. //
  6266. // Generic test for error on any status value.
  6267. //
  6268.  
  6269. #define IS_ERROR(Status) ((unsigned long)(Status) >> 31 == SEVERITY_ERROR)
  6270.  
  6271. //
  6272. // Return the code
  6273. //
  6274.  
  6275. #define HRESULT_CODE(hr)    ((hr) & 0xFFFF)
  6276. #define SCODE_CODE(sc)      ((sc) & 0xFFFF)
  6277.  
  6278. //
  6279. //  Return the facility
  6280. //
  6281.  
  6282. #define HRESULT_FACILITY(hr)  (((hr) >> 16) & 0x1fff)
  6283. #define SCODE_FACILITY(sc)    (((sc) >> 16) & 0x1fff)
  6284.  
  6285. //
  6286. //  Return the severity
  6287. //
  6288.  
  6289. #define HRESULT_SEVERITY(hr)  (((hr) >> 31) & 0x1)
  6290. #define SCODE_SEVERITY(sc)    (((sc) >> 31) & 0x1)
  6291.  
  6292. //
  6293. // Create an HRESULT value from component pieces
  6294. //
  6295.  
  6296. #define MAKE_HRESULT(sev,fac,code) \
  6297.     ((HRESULT) (((unsigned long)(sev)<<31) | ((unsigned long)(fac)<<16) | ((unsigned long)(code))) )
  6298. #define MAKE_SCODE(sev,fac,code) \
  6299.     ((SCODE) (((unsigned long)(sev)<<31) | ((unsigned long)(fac)<<16) | ((unsigned long)(code))) )
  6300.  
  6301.  
  6302. //
  6303. // Map a WIN32 error value into a HRESULT
  6304. // Note: This assumes that WIN32 errors fall in the range -32k to 32k.
  6305. //
  6306. // Define bits here so macros are guaranteed to work
  6307.  
  6308. #define FACILITY_NT_BIT                 0x10000000
  6309. #define HRESULT_FROM_WIN32(x)   (x ? ((HRESULT) (((x) & 0x0000FFFF) | (FACILITY_WIN32 << 16) | 0x80000000)) : 0 )
  6310.  
  6311. //
  6312. // Map an NT status value into a HRESULT
  6313. //
  6314.  
  6315. #define HRESULT_FROM_NT(x)      ((HRESULT) ((x) | FACILITY_NT_BIT))
  6316.  
  6317.  
  6318. // ****** OBSOLETE functions
  6319.  
  6320. // HRESULT functions
  6321. // As noted above, these functions are obsolete and should not be used.
  6322.  
  6323.  
  6324. // Extract the SCODE from a HRESULT
  6325.  
  6326. #define GetScode(hr) ((SCODE) (hr))
  6327.  
  6328. // Convert an SCODE into an HRESULT.
  6329.  
  6330. #define ResultFromScode(sc) ((HRESULT) (sc))
  6331.  
  6332.  
  6333. // PropagateResult is a noop
  6334. #define PropagateResult(hrPrevious, scBase) ((HRESULT) scBase)
  6335.  
  6336.  
  6337. // ****** End of OBSOLETE functions.
  6338.  
  6339.  
  6340. // ---------------------- HRESULT value definitions -----------------
  6341. //
  6342. // HRESULT definitions
  6343. //
  6344.  
  6345. #define NOERROR             S_OK
  6346.  
  6347. //
  6348. // Error definitions follow
  6349. //
  6350.  
  6351. //
  6352. // Codes 0x4000-0x40ff are reserved for OLE
  6353. //
  6354. //
  6355. // Error codes
  6356. //
  6357. //
  6358. // MessageId: E_UNEXPECTED
  6359. //
  6360. // MessageText:
  6361. //
  6362. //  Unexpected failure
  6363. //
  6364. #define E_UNEXPECTED                     0x8000FFFFL
  6365.  
  6366. #ifdef _WIN32
  6367. //
  6368. // MessageId: E_NOTIMPL
  6369. //
  6370. // MessageText:
  6371. //
  6372. //  Not implemented
  6373. //
  6374. #define E_NOTIMPL                        0x80004001L
  6375.  
  6376. //
  6377. // MessageId: E_OUTOFMEMORY
  6378. //
  6379. // MessageText:
  6380. //
  6381. //  Ran out of memory
  6382. //
  6383. #define E_OUTOFMEMORY                    0x8007000EL
  6384.  
  6385. //
  6386. // MessageId: E_INVALIDARG
  6387. //
  6388. // MessageText:
  6389. //
  6390. //  One or more arguments are invalid
  6391. //
  6392. #define E_INVALIDARG                     0x80070057L
  6393.  
  6394. //
  6395. // MessageId: E_NOINTERFACE
  6396. //
  6397. // MessageText:
  6398. //
  6399. //  No such interface supported
  6400. //
  6401. #define E_NOINTERFACE                    0x80004002L
  6402.  
  6403. //
  6404. // MessageId: E_POINTER
  6405. //
  6406. // MessageText:
  6407. //
  6408. //  Invalid pointer
  6409. //
  6410. #define E_POINTER                        0x80004003L
  6411.  
  6412. //
  6413. // MessageId: E_HANDLE
  6414. //
  6415. // MessageText:
  6416. //
  6417. //  Invalid handle
  6418. //
  6419. #define E_HANDLE                         0x80070006L
  6420.  
  6421. //
  6422. // MessageId: E_ABORT
  6423. //
  6424. // MessageText:
  6425. //
  6426. //  Operation aborted
  6427. //
  6428. #define E_ABORT                          0x80004004L
  6429.  
  6430. //
  6431. // MessageId: E_FAIL
  6432. //
  6433. // MessageText:
  6434. //
  6435. //  Unspecified error
  6436. //
  6437. #define E_FAIL                           0x80004005L
  6438.  
  6439. //
  6440. // MessageId: E_ACCESSDENIED
  6441. //
  6442. // MessageText:
  6443. //
  6444. //  General access denied error
  6445. //
  6446. #define E_ACCESSDENIED                   0x80070005L
  6447.  
  6448. //
  6449. // MessageId: E_PENDING
  6450. //
  6451. // MessageText:
  6452. //
  6453. // The operation is not yet complete.
  6454. //
  6455. #define E_PENDING                        0x80070007L
  6456.  
  6457. #else
  6458. //
  6459. // MessageId: E_NOTIMPL
  6460. //
  6461. // MessageText:
  6462. //
  6463. //  Not implemented
  6464. //
  6465. #define E_NOTIMPL                        0x80000001L
  6466.  
  6467. //
  6468. // MessageId: E_OUTOFMEMORY
  6469. //
  6470. // MessageText:
  6471. //
  6472. //  Ran out of memory
  6473. //
  6474. #define E_OUTOFMEMORY                    0x80000002L
  6475.  
  6476. //
  6477. // MessageId: E_INVALIDARG
  6478. //
  6479. // MessageText:
  6480. //
  6481. //  One or more arguments are invalid
  6482. //
  6483. #define E_INVALIDARG                     0x80000003L
  6484.  
  6485. //
  6486. // MessageId: E_NOINTERFACE
  6487. //
  6488. // MessageText:
  6489. //
  6490. //  No such interface supported
  6491. //
  6492. #define E_NOINTERFACE                    0x80000004L
  6493.  
  6494. //
  6495. // MessageId: E_POINTER
  6496. //
  6497. // MessageText:
  6498. //
  6499. //  Invalid pointer
  6500. //
  6501. #define E_POINTER                        0x80000005L
  6502.  
  6503. //
  6504. // MessageId: E_HANDLE
  6505. //
  6506. // MessageText:
  6507. //
  6508. //  Invalid handle
  6509. //
  6510. #define E_HANDLE                         0x80000006L
  6511.  
  6512. //
  6513. // MessageId: E_ABORT
  6514. //
  6515. // MessageText:
  6516. //
  6517. //  Operation aborted
  6518. //
  6519. #define E_ABORT                          0x80000007L
  6520.  
  6521. //
  6522. // MessageId: E_FAIL
  6523. //
  6524. // MessageText:
  6525. //
  6526. //  Unspecified error
  6527. //
  6528. #define E_FAIL                           0x80000008L
  6529.  
  6530. //
  6531. // MessageId: E_ACCESSDENIED
  6532. //
  6533. // MessageText:
  6534. //
  6535. //  General access denied error
  6536. //
  6537. #define E_ACCESSDENIED                   0x80000009L
  6538.  
  6539. #endif //_WIN32
  6540. //
  6541. // MessageId: CO_E_INIT_TLS
  6542. //
  6543. // MessageText:
  6544. //
  6545. //  Thread local storage failure
  6546. //
  6547. #define CO_E_INIT_TLS                    0x80004006L
  6548.  
  6549. //
  6550. // MessageId: CO_E_INIT_SHARED_ALLOCATOR
  6551. //
  6552. // MessageText:
  6553. //
  6554. //  Get shared memory allocator failure
  6555. //
  6556. #define CO_E_INIT_SHARED_ALLOCATOR       0x80004007L
  6557.  
  6558. //
  6559. // MessageId: CO_E_INIT_MEMORY_ALLOCATOR
  6560. //
  6561. // MessageText:
  6562. //
  6563. //  Get memory allocator failure
  6564. //
  6565. #define CO_E_INIT_MEMORY_ALLOCATOR       0x80004008L
  6566.  
  6567. //
  6568. // MessageId: CO_E_INIT_CLASS_CACHE
  6569. //
  6570. // MessageText:
  6571. //
  6572. //  Unable to initialize class cache
  6573. //
  6574. #define CO_E_INIT_CLASS_CACHE            0x80004009L
  6575.  
  6576. //
  6577. // MessageId: CO_E_INIT_RPC_CHANNEL
  6578. //
  6579. // MessageText:
  6580. //
  6581. //  Unable to initialize RPC services
  6582. //
  6583. #define CO_E_INIT_RPC_CHANNEL            0x8000400AL
  6584.  
  6585. //
  6586. // MessageId: CO_E_INIT_TLS_SET_CHANNEL_CONTROL
  6587. //
  6588. // MessageText:
  6589. //
  6590. //  Cannot set thread local storage channel control
  6591. //
  6592. #define CO_E_INIT_TLS_SET_CHANNEL_CONTROL 0x8000400BL
  6593.  
  6594. //
  6595. // MessageId: CO_E_INIT_TLS_CHANNEL_CONTROL
  6596. //
  6597. // MessageText:
  6598. //
  6599. //  Could not allocate thread local storage channel control
  6600. //
  6601. #define CO_E_INIT_TLS_CHANNEL_CONTROL    0x8000400CL
  6602.  
  6603. //
  6604. // MessageId: CO_E_INIT_UNACCEPTED_USER_ALLOCATOR
  6605. //
  6606. // MessageText:
  6607. //
  6608. //  The user supplied memory allocator is unacceptable
  6609. //
  6610. #define CO_E_INIT_UNACCEPTED_USER_ALLOCATOR 0x8000400DL
  6611.  
  6612. //
  6613. // MessageId: CO_E_INIT_SCM_MUTEX_EXISTS
  6614. //
  6615. // MessageText:
  6616. //
  6617. //  The OLE service mutex already exists
  6618. //
  6619. #define CO_E_INIT_SCM_MUTEX_EXISTS       0x8000400EL
  6620.  
  6621. //
  6622. // MessageId: CO_E_INIT_SCM_FILE_MAPPING_EXISTS
  6623. //
  6624. // MessageText:
  6625. //
  6626. //  The OLE service file mapping already exists
  6627. //
  6628. #define CO_E_INIT_SCM_FILE_MAPPING_EXISTS 0x8000400FL
  6629.  
  6630. //
  6631. // MessageId: CO_E_INIT_SCM_MAP_VIEW_OF_FILE
  6632. //
  6633. // MessageText:
  6634. //
  6635. //  Unable to map view of file for OLE service
  6636. //
  6637. #define CO_E_INIT_SCM_MAP_VIEW_OF_FILE   0x80004010L
  6638.  
  6639. //
  6640. // MessageId: CO_E_INIT_SCM_EXEC_FAILURE
  6641. //
  6642. // MessageText:
  6643. //
  6644. //  Failure attempting to launch OLE service
  6645. //
  6646. #define CO_E_INIT_SCM_EXEC_FAILURE       0x80004011L
  6647.  
  6648. //
  6649. // MessageId: CO_E_INIT_ONLY_SINGLE_THREADED
  6650. //
  6651. // MessageText:
  6652. //
  6653. //  There was an attempt to call CoInitialize a second time while single threaded
  6654. //
  6655. #define CO_E_INIT_ONLY_SINGLE_THREADED   0x80004012L
  6656.  
  6657.  
  6658. //
  6659. // Success codes
  6660. //
  6661. #define S_OK                                   (0x00000000L)
  6662. #define S_FALSE                                (0x00000001L)
  6663.  
  6664. // ******************
  6665. // FACILITY_ITF
  6666. // ******************
  6667.  
  6668. //
  6669. // Codes 0x0-0x01ff are reserved for the OLE group of
  6670. // interfaces.
  6671. //
  6672.  
  6673.  
  6674. //
  6675. // Generic OLE errors that may be returned by many inerfaces
  6676. //
  6677.  
  6678. #define OLE_E_FIRST 0x80040000L
  6679. #define OLE_E_LAST  0x800400FFL
  6680. #define OLE_S_FIRST 0x00040000L
  6681. #define OLE_S_LAST  0x000400FFL
  6682.  
  6683. //
  6684. // Old OLE errors
  6685. //
  6686. //
  6687. // MessageId: OLE_E_OLEVERB
  6688. //
  6689. // MessageText:
  6690. //
  6691. //  Invalid OLEVERB structure
  6692. //
  6693. #define OLE_E_OLEVERB                    0x80040000L
  6694.  
  6695. //
  6696. // MessageId: OLE_E_ADVF
  6697. //
  6698. // MessageText:
  6699. //
  6700. //  Invalid advise flags
  6701. //
  6702. #define OLE_E_ADVF                       0x80040001L
  6703.  
  6704. //
  6705. // MessageId: OLE_E_ENUM_NOMORE
  6706. //
  6707. // MessageText:
  6708. //
  6709. //  Can't enumerate any more, because the associated data is missing
  6710. //
  6711. #define OLE_E_ENUM_NOMORE                0x80040002L
  6712.  
  6713. //
  6714. // MessageId: OLE_E_ADVISENOTSUPPORTED
  6715. //
  6716. // MessageText:
  6717. //
  6718. //  This implementation doesn't take advises
  6719. //
  6720. #define OLE_E_ADVISENOTSUPPORTED         0x80040003L
  6721.  
  6722. //
  6723. // MessageId: OLE_E_NOCONNECTION
  6724. //
  6725. // MessageText:
  6726. //
  6727. //  There is no connection for this connection ID
  6728. //
  6729. #define OLE_E_NOCONNECTION               0x80040004L
  6730.  
  6731. //
  6732. // MessageId: OLE_E_NOTRUNNING
  6733. //
  6734. // MessageText:
  6735. //
  6736. //  Need to run the object to perform this operation
  6737. //
  6738. #define OLE_E_NOTRUNNING                 0x80040005L
  6739.  
  6740. //
  6741. // MessageId: OLE_E_NOCACHE
  6742. //
  6743. // MessageText:
  6744. //
  6745. //  There is no cache to operate on
  6746. //
  6747. #define OLE_E_NOCACHE                    0x80040006L
  6748.  
  6749. //
  6750. // MessageId: OLE_E_BLANK
  6751. //
  6752. // MessageText:
  6753. //
  6754. //  Uninitialized object
  6755. //
  6756. #define OLE_E_BLANK                      0x80040007L
  6757.  
  6758. //
  6759. // MessageId: OLE_E_CLASSDIFF
  6760. //
  6761. // MessageText:
  6762. //
  6763. //  Linked object's source class has changed
  6764. //
  6765. #define OLE_E_CLASSDIFF                  0x80040008L
  6766.  
  6767. //
  6768. // MessageId: OLE_E_CANT_GETMONIKER
  6769. //
  6770. // MessageText:
  6771. //
  6772. //  Not able to get the moniker of the object
  6773. //
  6774. #define OLE_E_CANT_GETMONIKER            0x80040009L
  6775.  
  6776. //
  6777. // MessageId: OLE_E_CANT_BINDTOSOURCE
  6778. //
  6779. // MessageText:
  6780. //
  6781. //  Not able to bind to the source
  6782. //
  6783. #define OLE_E_CANT_BINDTOSOURCE          0x8004000AL
  6784.  
  6785. //
  6786. // MessageId: OLE_E_STATIC
  6787. //
  6788. // MessageText:
  6789. //
  6790. //  Object is static; operation not allowed
  6791. //
  6792. #define OLE_E_STATIC                     0x8004000BL
  6793.  
  6794. //
  6795. // MessageId: OLE_E_PROMPTSAVECANCELLED
  6796. //
  6797. // MessageText:
  6798. //
  6799. //  User cancelled out of save dialog
  6800. //
  6801. #define OLE_E_PROMPTSAVECANCELLED        0x8004000CL
  6802.  
  6803. //
  6804. // MessageId: OLE_E_INVALIDRECT
  6805. //
  6806. // MessageText:
  6807. //
  6808. //  Invalid rectangle
  6809. //
  6810. #define OLE_E_INVALIDRECT                0x8004000DL
  6811.  
  6812. //
  6813. // MessageId: OLE_E_WRONGCOMPOBJ
  6814. //
  6815. // MessageText:
  6816. //
  6817. //  compobj.dll is too old for the ole2.dll initialized
  6818. //
  6819. #define OLE_E_WRONGCOMPOBJ               0x8004000EL
  6820.  
  6821. //
  6822. // MessageId: OLE_E_INVALIDHWND
  6823. //
  6824. // MessageText:
  6825. //
  6826. //  Invalid window handle
  6827. //
  6828. #define OLE_E_INVALIDHWND                0x8004000FL
  6829.  
  6830. //
  6831. // MessageId: OLE_E_NOT_INPLACEACTIVE
  6832. //
  6833. // MessageText:
  6834. //
  6835. //  Object is not in any of the inplace active states
  6836. //
  6837. #define OLE_E_NOT_INPLACEACTIVE          0x80040010L
  6838.  
  6839. //
  6840. // MessageId: OLE_E_CANTCONVERT
  6841. //
  6842. // MessageText:
  6843. //
  6844. //  Not able to convert object
  6845. //
  6846. #define OLE_E_CANTCONVERT                0x80040011L
  6847.  
  6848. //
  6849. // MessageId: OLE_E_NOSTORAGE
  6850. //
  6851. // MessageText:
  6852. //
  6853. //  Not able to perform the operation because object is not given storage yet
  6854. //  
  6855. //
  6856. #define OLE_E_NOSTORAGE                  0x80040012L
  6857.  
  6858. //
  6859. // MessageId: DV_E_FORMATETC
  6860. //
  6861. // MessageText:
  6862. //
  6863. //  Invalid FORMATETC structure
  6864. //
  6865. #define DV_E_FORMATETC                   0x80040064L
  6866.  
  6867. //
  6868. // MessageId: DV_E_DVTARGETDEVICE
  6869. //
  6870. // MessageText:
  6871. //
  6872. //  Invalid DVTARGETDEVICE structure
  6873. //
  6874. #define DV_E_DVTARGETDEVICE              0x80040065L
  6875.  
  6876. //
  6877. // MessageId: DV_E_STGMEDIUM
  6878. //
  6879. // MessageText:
  6880. //
  6881. //  Invalid STDGMEDIUM structure
  6882. //
  6883. #define DV_E_STGMEDIUM                   0x80040066L
  6884.  
  6885. //
  6886. // MessageId: DV_E_STATDATA
  6887. //
  6888. // MessageText:
  6889. //
  6890. //  Invalid STATDATA structure
  6891. //
  6892. #define DV_E_STATDATA                    0x80040067L
  6893.  
  6894. //
  6895. // MessageId: DV_E_LINDEX
  6896. //
  6897. // MessageText:
  6898. //
  6899. //  Invalid lindex
  6900. //
  6901. #define DV_E_LINDEX                      0x80040068L
  6902.  
  6903. //
  6904. // MessageId: DV_E_TYMED
  6905. //
  6906. // MessageText:
  6907. //
  6908. //  Invalid tymed
  6909. //
  6910. #define DV_E_TYMED                       0x80040069L
  6911.  
  6912. //
  6913. // MessageId: DV_E_CLIPFORMAT
  6914. //
  6915. // MessageText:
  6916. //
  6917. //  Invalid clipboard format
  6918. //
  6919. #define DV_E_CLIPFORMAT                  0x8004006AL
  6920.  
  6921. //
  6922. // MessageId: DV_E_DVASPECT
  6923. //
  6924. // MessageText:
  6925. //
  6926. //  Invalid aspect(s)
  6927. //
  6928. #define DV_E_DVASPECT                    0x8004006BL
  6929.  
  6930. //
  6931. // MessageId: DV_E_DVTARGETDEVICE_SIZE
  6932. //
  6933. // MessageText:
  6934. //
  6935. //  tdSize parameter of the DVTARGETDEVICE structure is invalid
  6936. //
  6937. #define DV_E_DVTARGETDEVICE_SIZE         0x8004006CL
  6938.  
  6939. //
  6940. // MessageId: DV_E_NOIVIEWOBJECT
  6941. //
  6942. // MessageText:
  6943. //
  6944. //  Object doesn't support IViewObject interface
  6945. //
  6946. #define DV_E_NOIVIEWOBJECT               0x8004006DL
  6947.  
  6948. #define DRAGDROP_E_FIRST 0x80040100L
  6949. #define DRAGDROP_E_LAST  0x8004010FL
  6950. #define DRAGDROP_S_FIRST 0x00040100L
  6951. #define DRAGDROP_S_LAST  0x0004010FL
  6952. //
  6953. // MessageId: DRAGDROP_E_NOTREGISTERED
  6954. //
  6955. // MessageText:
  6956. //
  6957. //  Trying to revoke a drop target that has not been registered
  6958. //
  6959. #define DRAGDROP_E_NOTREGISTERED         0x80040100L
  6960.  
  6961. //
  6962. // MessageId: DRAGDROP_E_ALREADYREGISTERED
  6963. //
  6964. // MessageText:
  6965. //
  6966. //  This window has already been registered as a drop target
  6967. //
  6968. #define DRAGDROP_E_ALREADYREGISTERED     0x80040101L
  6969.  
  6970. //
  6971. // MessageId: DRAGDROP_E_INVALIDHWND
  6972. //
  6973. // MessageText:
  6974. //
  6975. //  Invalid window handle
  6976. //
  6977. #define DRAGDROP_E_INVALIDHWND           0x80040102L
  6978.  
  6979. #define CLASSFACTORY_E_FIRST  0x80040110L
  6980. #define CLASSFACTORY_E_LAST   0x8004011FL
  6981. #define CLASSFACTORY_S_FIRST  0x00040110L
  6982. #define CLASSFACTORY_S_LAST   0x0004011FL
  6983. //
  6984. // MessageId: CLASS_E_NOAGGREGATION
  6985. //
  6986. // MessageText:
  6987. //
  6988. //  Class does not support aggregation (or class object is remote)
  6989. //
  6990. #define CLASS_E_NOAGGREGATION            0x80040110L
  6991.  
  6992. //
  6993. // MessageId: CLASS_E_CLASSNOTAVAILABLE
  6994. //
  6995. // MessageText:
  6996. //
  6997. //  ClassFactory cannot supply requested class
  6998. //
  6999. #define CLASS_E_CLASSNOTAVAILABLE        0x80040111L
  7000.  
  7001. #define MARSHAL_E_FIRST  0x80040120L
  7002. #define MARSHAL_E_LAST   0x8004012FL
  7003. #define MARSHAL_S_FIRST  0x00040120L
  7004. #define MARSHAL_S_LAST   0x0004012FL
  7005. #define DATA_E_FIRST     0x80040130L
  7006. #define DATA_E_LAST      0x8004013FL
  7007. #define DATA_S_FIRST     0x00040130L
  7008. #define DATA_S_LAST      0x0004013FL
  7009. #define VIEW_E_FIRST     0x80040140L
  7010. #define VIEW_E_LAST      0x8004014FL
  7011. #define VIEW_S_FIRST     0x00040140L
  7012. #define VIEW_S_LAST      0x0004014FL
  7013. //
  7014. // MessageId: VIEW_E_DRAW
  7015. //
  7016. // MessageText:
  7017. //
  7018. //  Error drawing view
  7019. //
  7020. #define VIEW_E_DRAW                      0x80040140L
  7021.  
  7022. #define REGDB_E_FIRST     0x80040150L
  7023. #define REGDB_E_LAST      0x8004015FL
  7024. #define REGDB_S_FIRST     0x00040150L
  7025. #define REGDB_S_LAST      0x0004015FL
  7026. //
  7027. // MessageId: REGDB_E_READREGDB
  7028. //
  7029. // MessageText:
  7030. //
  7031. //  Could not read key from registry
  7032. //
  7033. #define REGDB_E_READREGDB                0x80040150L
  7034.  
  7035. //
  7036. // MessageId: REGDB_E_WRITEREGDB
  7037. //
  7038. // MessageText:
  7039. //
  7040. //  Could not write key to registry
  7041. //
  7042. #define REGDB_E_WRITEREGDB               0x80040151L
  7043.  
  7044. //
  7045. // MessageId: REGDB_E_KEYMISSING
  7046. //
  7047. // MessageText:
  7048. //
  7049. //  Could not find the key in the registry
  7050. //
  7051. #define REGDB_E_KEYMISSING               0x80040152L
  7052.  
  7053. //
  7054. // MessageId: REGDB_E_INVALIDVALUE
  7055. //
  7056. // MessageText:
  7057. //
  7058. //  Invalid value for registry
  7059. //
  7060. #define REGDB_E_INVALIDVALUE             0x80040153L
  7061.  
  7062. //
  7063. // MessageId: REGDB_E_CLASSNOTREG
  7064. //
  7065. // MessageText:
  7066. //
  7067. //  Class not registered
  7068. //
  7069. #define REGDB_E_CLASSNOTREG              0x80040154L
  7070.  
  7071. //
  7072. // MessageId: REGDB_E_IIDNOTREG
  7073. //
  7074. // MessageText:
  7075. //
  7076. //  Interface not registered
  7077. //
  7078. #define REGDB_E_IIDNOTREG                0x80040155L
  7079.  
  7080. #define CACHE_E_FIRST     0x80040170L
  7081. #define CACHE_E_LAST      0x8004017FL
  7082. #define CACHE_S_FIRST     0x00040170L
  7083. #define CACHE_S_LAST      0x0004017FL
  7084. //
  7085. // MessageId: CACHE_E_NOCACHE_UPDATED
  7086. //
  7087. // MessageText:
  7088. //
  7089. //  Cache not updated
  7090. //
  7091. #define CACHE_E_NOCACHE_UPDATED          0x80040170L
  7092.  
  7093. #define OLEOBJ_E_FIRST     0x80040180L
  7094. #define OLEOBJ_E_LAST      0x8004018FL
  7095. #define OLEOBJ_S_FIRST     0x00040180L
  7096. #define OLEOBJ_S_LAST      0x0004018FL
  7097. //
  7098. // MessageId: OLEOBJ_E_NOVERBS
  7099. //
  7100. // MessageText:
  7101. //
  7102. //  No verbs for OLE object
  7103. //
  7104. #define OLEOBJ_E_NOVERBS                 0x80040180L
  7105.  
  7106. //
  7107. // MessageId: OLEOBJ_E_INVALIDVERB
  7108. //
  7109. // MessageText:
  7110. //
  7111. //  Invalid verb for OLE object
  7112. //
  7113. #define OLEOBJ_E_INVALIDVERB             0x80040181L
  7114.  
  7115. #define CLIENTSITE_E_FIRST     0x80040190L
  7116. #define CLIENTSITE_E_LAST      0x8004019FL
  7117. #define CLIENTSITE_S_FIRST     0x00040190L
  7118. #define CLIENTSITE_S_LAST      0x0004019FL
  7119. //
  7120. // MessageId: INPLACE_E_NOTUNDOABLE
  7121. //
  7122. // MessageText:
  7123. //
  7124. //  Undo is not available
  7125. //
  7126. #define INPLACE_E_NOTUNDOABLE            0x800401A0L
  7127.  
  7128. //
  7129. // MessageId: INPLACE_E_NOTOOLSPACE
  7130. //
  7131. // MessageText:
  7132. //
  7133. //  Space for tools is not available
  7134. //
  7135. #define INPLACE_E_NOTOOLSPACE            0x800401A1L
  7136.  
  7137. #define INPLACE_E_FIRST     0x800401A0L
  7138. #define INPLACE_E_LAST      0x800401AFL
  7139. #define INPLACE_S_FIRST     0x000401A0L
  7140. #define INPLACE_S_LAST      0x000401AFL
  7141. #define ENUM_E_FIRST        0x800401B0L
  7142. #define ENUM_E_LAST         0x800401BFL
  7143. #define ENUM_S_FIRST        0x000401B0L
  7144. #define ENUM_S_LAST         0x000401BFL
  7145. #define CONVERT10_E_FIRST        0x800401C0L
  7146. #define CONVERT10_E_LAST         0x800401CFL
  7147. #define CONVERT10_S_FIRST        0x000401C0L
  7148. #define CONVERT10_S_LAST         0x000401CFL
  7149. //
  7150. // MessageId: CONVERT10_E_OLESTREAM_GET
  7151. //
  7152. // MessageText:
  7153. //
  7154. //  OLESTREAM Get method failed
  7155. //
  7156. #define CONVERT10_E_OLESTREAM_GET        0x800401C0L
  7157.  
  7158. //
  7159. // MessageId: CONVERT10_E_OLESTREAM_PUT
  7160. //
  7161. // MessageText:
  7162. //
  7163. //  OLESTREAM Put method failed
  7164. //
  7165. #define CONVERT10_E_OLESTREAM_PUT        0x800401C1L
  7166.  
  7167. //
  7168. // MessageId: CONVERT10_E_OLESTREAM_FMT
  7169. //
  7170. // MessageText:
  7171. //
  7172. //  Contents of the OLESTREAM not in correct format
  7173. //
  7174. #define CONVERT10_E_OLESTREAM_FMT        0x800401C2L
  7175.  
  7176. //
  7177. // MessageId: CONVERT10_E_OLESTREAM_BITMAP_TO_DIB
  7178. //
  7179. // MessageText:
  7180. //
  7181. //  There was an error in a Windows GDI call while converting the bitmap to a DIB
  7182. //
  7183. #define CONVERT10_E_OLESTREAM_BITMAP_TO_DIB 0x800401C3L
  7184.  
  7185. //
  7186. // MessageId: CONVERT10_E_STG_FMT
  7187. //
  7188. // MessageText:
  7189. //
  7190. //  Contents of the IStorage not in correct format
  7191. //
  7192. #define CONVERT10_E_STG_FMT              0x800401C4L
  7193.  
  7194. //
  7195. // MessageId: CONVERT10_E_STG_NO_STD_STREAM
  7196. //
  7197. // MessageText:
  7198. //
  7199. //  Contents of IStorage is missing one of the standard streams
  7200. //
  7201. #define CONVERT10_E_STG_NO_STD_STREAM    0x800401C5L
  7202.  
  7203. //
  7204. // MessageId: CONVERT10_E_STG_DIB_TO_BITMAP
  7205. //
  7206. // MessageText:
  7207. //
  7208. //  There was an error in a Windows GDI call while converting the DIB to a bitmap.
  7209. //  
  7210. //
  7211. #define CONVERT10_E_STG_DIB_TO_BITMAP    0x800401C6L
  7212.  
  7213. #define CLIPBRD_E_FIRST        0x800401D0L
  7214. #define CLIPBRD_E_LAST         0x800401DFL
  7215. #define CLIPBRD_S_FIRST        0x000401D0L
  7216. #define CLIPBRD_S_LAST         0x000401DFL
  7217. //
  7218. // MessageId: CLIPBRD_E_CANT_OPEN
  7219. //
  7220. // MessageText:
  7221. //
  7222. //  OpenClipboard Failed
  7223. //
  7224. #define CLIPBRD_E_CANT_OPEN              0x800401D0L
  7225.  
  7226. //
  7227. // MessageId: CLIPBRD_E_CANT_EMPTY
  7228. //
  7229. // MessageText:
  7230. //
  7231. //  EmptyClipboard Failed
  7232. //
  7233. #define CLIPBRD_E_CANT_EMPTY             0x800401D1L
  7234.  
  7235. //
  7236. // MessageId: CLIPBRD_E_CANT_SET
  7237. //
  7238. // MessageText:
  7239. //
  7240. //  SetClipboard Failed
  7241. //
  7242. #define CLIPBRD_E_CANT_SET               0x800401D2L
  7243.  
  7244. //
  7245. // MessageId: CLIPBRD_E_BAD_DATA
  7246. //
  7247. // MessageText:
  7248. //
  7249. //  Data on clipboard is invalid
  7250. //
  7251. #define CLIPBRD_E_BAD_DATA               0x800401D3L
  7252.  
  7253. //
  7254. // MessageId: CLIPBRD_E_CANT_CLOSE
  7255. //
  7256. // MessageText:
  7257. //
  7258. //  CloseClipboard Failed
  7259. //
  7260. #define CLIPBRD_E_CANT_CLOSE             0x800401D4L
  7261.  
  7262. #define MK_E_FIRST        0x800401E0L
  7263. #define MK_E_LAST         0x800401EFL
  7264. #define MK_S_FIRST        0x000401E0L
  7265. #define MK_S_LAST         0x000401EFL
  7266. //
  7267. // MessageId: MK_E_CONNECTMANUALLY
  7268. //
  7269. // MessageText:
  7270. //
  7271. //  Moniker needs to be connected manually
  7272. //
  7273. #define MK_E_CONNECTMANUALLY             0x800401E0L
  7274.  
  7275. //
  7276. // MessageId: MK_E_EXCEEDEDDEADLINE
  7277. //
  7278. // MessageText:
  7279. //
  7280. //  Operation exceeded deadline
  7281. //
  7282. #define MK_E_EXCEEDEDDEADLINE            0x800401E1L
  7283.  
  7284. //
  7285. // MessageId: MK_E_NEEDGENERIC
  7286. //
  7287. // MessageText:
  7288. //
  7289. //  Moniker needs to be generic
  7290. //
  7291. #define MK_E_NEEDGENERIC                 0x800401E2L
  7292.  
  7293. //
  7294. // MessageId: MK_E_UNAVAILABLE
  7295. //
  7296. // MessageText:
  7297. //
  7298. //  Operation unavailable
  7299. //
  7300. #define MK_E_UNAVAILABLE                 0x800401E3L
  7301.  
  7302. //
  7303. // MessageId: MK_E_SYNTAX
  7304. //
  7305. // MessageText:
  7306. //
  7307. //  Invalid syntax
  7308. //
  7309. #define MK_E_SYNTAX                      0x800401E4L
  7310.  
  7311. //
  7312. // MessageId: MK_E_NOOBJECT
  7313. //
  7314. // MessageText:
  7315. //
  7316. //  No object for moniker
  7317. //
  7318. #define MK_E_NOOBJECT                    0x800401E5L
  7319.  
  7320. //
  7321. // MessageId: MK_E_INVALIDEXTENSION
  7322. //
  7323. // MessageText:
  7324. //
  7325. //  Bad extension for file
  7326. //
  7327. #define MK_E_INVALIDEXTENSION            0x800401E6L
  7328.  
  7329. //
  7330. // MessageId: MK_E_INTERMEDIATEINTERFACENOTSUPPORTED
  7331. //
  7332. // MessageText:
  7333. //
  7334. //  Intermediate operation failed
  7335. //
  7336. #define MK_E_INTERMEDIATEINTERFACENOTSUPPORTED 0x800401E7L
  7337.  
  7338. //
  7339. // MessageId: MK_E_NOTBINDABLE
  7340. //
  7341. // MessageText:
  7342. //
  7343. //  Moniker is not bindable
  7344. //
  7345. #define MK_E_NOTBINDABLE                 0x800401E8L
  7346.  
  7347. //
  7348. // MessageId: MK_E_NOTBOUND
  7349. //
  7350. // MessageText:
  7351. //
  7352. //  Moniker is not bound
  7353. //
  7354. #define MK_E_NOTBOUND                    0x800401E9L
  7355.  
  7356. //
  7357. // MessageId: MK_E_CANTOPENFILE
  7358. //
  7359. // MessageText:
  7360. //
  7361. //  Moniker cannot open file
  7362. //
  7363. #define MK_E_CANTOPENFILE                0x800401EAL
  7364.  
  7365. //
  7366. // MessageId: MK_E_MUSTBOTHERUSER
  7367. //
  7368. // MessageText:
  7369. //
  7370. //  User input required for operation to succeed
  7371. //
  7372. #define MK_E_MUSTBOTHERUSER              0x800401EBL
  7373.  
  7374. //
  7375. // MessageId: MK_E_NOINVERSE
  7376. //
  7377. // MessageText:
  7378. //
  7379. //  Moniker class has no inverse
  7380. //
  7381. #define MK_E_NOINVERSE                   0x800401ECL
  7382.  
  7383. //
  7384. // MessageId: MK_E_NOSTORAGE
  7385. //
  7386. // MessageText:
  7387. //
  7388. //  Moniker does not refer to storage
  7389. //
  7390. #define MK_E_NOSTORAGE                   0x800401EDL
  7391.  
  7392. //
  7393. // MessageId: MK_E_NOPREFIX
  7394. //
  7395. // MessageText:
  7396. //
  7397. //  No common prefix
  7398. //
  7399. #define MK_E_NOPREFIX                    0x800401EEL
  7400.  
  7401. //
  7402. // MessageId: MK_E_ENUMERATION_FAILED
  7403. //
  7404. // MessageText:
  7405. //
  7406. //  Moniker could not be enumerated
  7407. //
  7408. #define MK_E_ENUMERATION_FAILED          0x800401EFL
  7409.  
  7410. #define CO_E_FIRST        0x800401F0L
  7411. #define CO_E_LAST         0x800401FFL
  7412. #define CO_S_FIRST        0x000401F0L
  7413. #define CO_S_LAST         0x000401FFL
  7414. //
  7415. // MessageId: CO_E_NOTINITIALIZED
  7416. //
  7417. // MessageText:
  7418. //
  7419. //  CoInitialize has not been called.
  7420. //
  7421. #define CO_E_NOTINITIALIZED              0x800401F0L
  7422.  
  7423. //
  7424. // MessageId: CO_E_ALREADYINITIALIZED
  7425. //
  7426. // MessageText:
  7427. //
  7428. //  CoInitialize has already been called.
  7429. //
  7430. #define CO_E_ALREADYINITIALIZED          0x800401F1L
  7431.  
  7432. //
  7433. // MessageId: CO_E_CANTDETERMINECLASS
  7434. //
  7435. // MessageText:
  7436. //
  7437. //  Class of object cannot be determined
  7438. //
  7439. #define CO_E_CANTDETERMINECLASS          0x800401F2L
  7440.  
  7441. //
  7442. // MessageId: CO_E_CLASSSTRING
  7443. //
  7444. // MessageText:
  7445. //
  7446. //  Invalid class string
  7447. //
  7448. #define CO_E_CLASSSTRING                 0x800401F3L
  7449.  
  7450. //
  7451. // MessageId: CO_E_IIDSTRING
  7452. //
  7453. // MessageText:
  7454. //
  7455. //  Invalid interface string
  7456. //
  7457. #define CO_E_IIDSTRING                   0x800401F4L
  7458.  
  7459. //
  7460. // MessageId: CO_E_APPNOTFOUND
  7461. //
  7462. // MessageText:
  7463. //
  7464. //  Application not found
  7465. //
  7466. #define CO_E_APPNOTFOUND                 0x800401F5L
  7467.  
  7468. //
  7469. // MessageId: CO_E_APPSINGLEUSE
  7470. //
  7471. // MessageText:
  7472. //
  7473. //  Application cannot be run more than once
  7474. //
  7475. #define CO_E_APPSINGLEUSE                0x800401F6L
  7476.  
  7477. //
  7478. // MessageId: CO_E_ERRORINAPP
  7479. //
  7480. // MessageText:
  7481. //
  7482. //  Some error in application program
  7483. //
  7484. #define CO_E_ERRORINAPP                  0x800401F7L
  7485.  
  7486. //
  7487. // MessageId: CO_E_DLLNOTFOUND
  7488. //
  7489. // MessageText:
  7490. //
  7491. //  DLL for class not found
  7492. //
  7493. #define CO_E_DLLNOTFOUND                 0x800401F8L
  7494.  
  7495. //
  7496. // MessageId: CO_E_ERRORINDLL
  7497. //
  7498. // MessageText:
  7499. //
  7500. //  Error in the DLL
  7501. //
  7502. #define CO_E_ERRORINDLL                  0x800401F9L
  7503.  
  7504. //
  7505. // MessageId: CO_E_WRONGOSFORAPP
  7506. //
  7507. // MessageText:
  7508. //
  7509. //  Wrong OS or OS version for application
  7510. //
  7511. #define CO_E_WRONGOSFORAPP               0x800401FAL
  7512.  
  7513. //
  7514. // MessageId: CO_E_OBJNOTREG
  7515. //
  7516. // MessageText:
  7517. //
  7518. //  Object is not registered
  7519. //
  7520. #define CO_E_OBJNOTREG                   0x800401FBL
  7521.  
  7522. //
  7523. // MessageId: CO_E_OBJISREG
  7524. //
  7525. // MessageText:
  7526. //
  7527. //  Object is already registered
  7528. //
  7529. #define CO_E_OBJISREG                    0x800401FCL
  7530.  
  7531. //
  7532. // MessageId: CO_E_OBJNOTCONNECTED
  7533. //
  7534. // MessageText:
  7535. //
  7536. //  Object is not connected to server
  7537. //
  7538. #define CO_E_OBJNOTCONNECTED             0x800401FDL
  7539.  
  7540. //
  7541. // MessageId: CO_E_APPDIDNTREG
  7542. //
  7543. // MessageText:
  7544. //
  7545. //  Application was launched but it didn't register a class factory
  7546. //
  7547. #define CO_E_APPDIDNTREG                 0x800401FEL
  7548.  
  7549. //
  7550. // MessageId: CO_E_RELEASED
  7551. //
  7552. // MessageText:
  7553. //
  7554. //  Object has been released
  7555. //
  7556. #define CO_E_RELEASED                    0x800401FFL
  7557.  
  7558. //
  7559. // Old OLE Success Codes
  7560. //
  7561. //
  7562. // MessageId: OLE_S_USEREG
  7563. //
  7564. // MessageText:
  7565. //
  7566. //  Use the registry database to provide the requested information
  7567. //
  7568. #define OLE_S_USEREG                     0x00040000L
  7569.  
  7570. //
  7571. // MessageId: OLE_S_STATIC
  7572. //
  7573. // MessageText:
  7574. //
  7575. //  Success, but static
  7576. //
  7577. #define OLE_S_STATIC                     0x00040001L
  7578.  
  7579. //
  7580. // MessageId: OLE_S_MAC_CLIPFORMAT
  7581. //
  7582. // MessageText:
  7583. //
  7584. //  Macintosh clipboard format
  7585. //
  7586. #define OLE_S_MAC_CLIPFORMAT             0x00040002L
  7587.  
  7588. //
  7589. // MessageId: DRAGDROP_S_DROP
  7590. //
  7591. // MessageText:
  7592. //
  7593. //  Successful drop took place
  7594. //
  7595. #define DRAGDROP_S_DROP                  0x00040100L
  7596.  
  7597. //
  7598. // MessageId: DRAGDROP_S_CANCEL
  7599. //
  7600. // MessageText:
  7601. //
  7602. //  Drag-drop operation canceled
  7603. //
  7604. #define DRAGDROP_S_CANCEL                0x00040101L
  7605.  
  7606. //
  7607. // MessageId: DRAGDROP_S_USEDEFAULTCURSORS
  7608. //
  7609. // MessageText:
  7610. //
  7611. //  Use the default cursor
  7612. //
  7613. #define DRAGDROP_S_USEDEFAULTCURSORS     0x00040102L
  7614.  
  7615. //
  7616. // MessageId: DATA_S_SAMEFORMATETC
  7617. //
  7618. // MessageText:
  7619. //
  7620. //  Data has same FORMATETC
  7621. //
  7622. #define DATA_S_SAMEFORMATETC             0x00040130L
  7623.  
  7624. //
  7625. // MessageId: VIEW_S_ALREADY_FROZEN
  7626. //
  7627. // MessageText:
  7628. //
  7629. //  View is already frozen
  7630. //
  7631. #define VIEW_S_ALREADY_FROZEN            0x00040140L
  7632.  
  7633. //
  7634. // MessageId: CACHE_S_FORMATETC_NOTSUPPORTED
  7635. //
  7636. // MessageText:
  7637. //
  7638. //  FORMATETC not supported
  7639. //
  7640. #define CACHE_S_FORMATETC_NOTSUPPORTED   0x00040170L
  7641.  
  7642. //
  7643. // MessageId: CACHE_S_SAMECACHE
  7644. //
  7645. // MessageText:
  7646. //
  7647. //  Same cache
  7648. //
  7649. #define CACHE_S_SAMECACHE                0x00040171L
  7650.  
  7651. //
  7652. // MessageId: CACHE_S_SOMECACHES_NOTUPDATED
  7653. //
  7654. // MessageText:
  7655. //
  7656. //  Some cache(s) not updated
  7657. //
  7658. #define CACHE_S_SOMECACHES_NOTUPDATED    0x00040172L
  7659.  
  7660. //
  7661. // MessageId: OLEOBJ_S_INVALIDVERB
  7662. //
  7663. // MessageText:
  7664. //
  7665. //  Invalid verb for OLE object
  7666. //
  7667. #define OLEOBJ_S_INVALIDVERB             0x00040180L
  7668.  
  7669. //
  7670. // MessageId: OLEOBJ_S_CANNOT_DOVERB_NOW
  7671. //
  7672. // MessageText:
  7673. //
  7674. //  Verb number is valid but verb cannot be done now
  7675. //
  7676. #define OLEOBJ_S_CANNOT_DOVERB_NOW       0x00040181L
  7677.  
  7678. //
  7679. // MessageId: OLEOBJ_S_INVALIDHWND
  7680. //
  7681. // MessageText:
  7682. //
  7683. //  Invalid window handle passed
  7684. //
  7685. #define OLEOBJ_S_INVALIDHWND             0x00040182L
  7686.  
  7687. //
  7688. // MessageId: INPLACE_S_TRUNCATED
  7689. //
  7690. // MessageText:
  7691. //
  7692. //  Message is too long; some of it had to be truncated before displaying
  7693. //
  7694. #define INPLACE_S_TRUNCATED              0x000401A0L
  7695.  
  7696. //
  7697. // MessageId: CONVERT10_S_NO_PRESENTATION
  7698. //
  7699. // MessageText:
  7700. //
  7701. //  Unable to convert OLESTREAM to IStorage
  7702. //
  7703. #define CONVERT10_S_NO_PRESENTATION      0x000401C0L
  7704.  
  7705. //
  7706. // MessageId: MK_S_REDUCED_TO_SELF
  7707. //
  7708. // MessageText:
  7709. //
  7710. //  Moniker reduced to itself
  7711. //
  7712. #define MK_S_REDUCED_TO_SELF             0x000401E2L
  7713.  
  7714. //
  7715. // MessageId: MK_S_ME
  7716. //
  7717. // MessageText:
  7718. //
  7719. //  Common prefix is this moniker
  7720. //
  7721. #define MK_S_ME                          0x000401E4L
  7722.  
  7723. //
  7724. // MessageId: MK_S_HIM
  7725. //
  7726. // MessageText:
  7727. //
  7728. //  Common prefix is input moniker
  7729. //
  7730. #define MK_S_HIM                         0x000401E5L
  7731.  
  7732. //
  7733. // MessageId: MK_S_US
  7734. //
  7735. // MessageText:
  7736. //
  7737. //  Common prefix is both monikers
  7738. //
  7739. #define MK_S_US                          0x000401E6L
  7740.  
  7741. //
  7742. // MessageId: MK_S_MONIKERALREADYREGISTERED
  7743. //
  7744. // MessageText:
  7745. //
  7746. //  Moniker is already registered in running object table
  7747. //
  7748. #define MK_S_MONIKERALREADYREGISTERED    0x000401E7L
  7749.  
  7750. // ******************
  7751. // FACILITY_WINDOWS
  7752. // ******************
  7753. //
  7754. // Codes 0x0-0x01ff are reserved for the OLE group of
  7755. // interfaces.
  7756. //
  7757. //
  7758. // MessageId: CO_E_CLASS_CREATE_FAILED
  7759. //
  7760. // MessageText:
  7761. //
  7762. //  Attempt to create a class object failed
  7763. //
  7764. #define CO_E_CLASS_CREATE_FAILED         0x80080001L
  7765.  
  7766. //
  7767. // MessageId: CO_E_SCM_ERROR
  7768. //
  7769. // MessageText:
  7770. //
  7771. //  OLE service could not bind object
  7772. //
  7773. #define CO_E_SCM_ERROR                   0x80080002L
  7774.  
  7775. //
  7776. // MessageId: CO_E_SCM_RPC_FAILURE
  7777. //
  7778. // MessageText:
  7779. //
  7780. //  RPC communication failed with OLE service
  7781. //
  7782. #define CO_E_SCM_RPC_FAILURE             0x80080003L
  7783.  
  7784. //
  7785. // MessageId: CO_E_BAD_PATH
  7786. //
  7787. // MessageText:
  7788. //
  7789. //  Bad path to object
  7790. //
  7791. #define CO_E_BAD_PATH                    0x80080004L
  7792.  
  7793. //
  7794. // MessageId: CO_E_SERVER_EXEC_FAILURE
  7795. //
  7796. // MessageText:
  7797. //
  7798. //  Server execution failed
  7799. //
  7800. #define CO_E_SERVER_EXEC_FAILURE         0x80080005L
  7801.  
  7802. //
  7803. // MessageId: CO_E_OBJSRV_RPC_FAILURE
  7804. //
  7805. // MessageText:
  7806. //
  7807. //  OLE service could not communicate with the object server
  7808. //
  7809. #define CO_E_OBJSRV_RPC_FAILURE          0x80080006L
  7810.  
  7811. //
  7812. // MessageId: MK_E_NO_NORMALIZED
  7813. //
  7814. // MessageText:
  7815. //
  7816. //  Moniker path could not be normalized
  7817. //
  7818. #define MK_E_NO_NORMALIZED               0x80080007L
  7819.  
  7820. //
  7821. // MessageId: CO_E_SERVER_STOPPING
  7822. //
  7823. // MessageText:
  7824. //
  7825. //  Object server is stopping when OLE service contacts it
  7826. //
  7827. #define CO_E_SERVER_STOPPING             0x80080008L
  7828.  
  7829. //
  7830. // MessageId: MEM_E_INVALID_ROOT
  7831. //
  7832. // MessageText:
  7833. //
  7834. //  An invalid root block pointer was specified
  7835. //
  7836. #define MEM_E_INVALID_ROOT               0x80080009L
  7837.  
  7838. //
  7839. // MessageId: MEM_E_INVALID_LINK
  7840. //
  7841. // MessageText:
  7842. //
  7843. //  An allocation chain contained an invalid link pointer
  7844. //
  7845. #define MEM_E_INVALID_LINK               0x80080010L
  7846.  
  7847. //
  7848. // MessageId: MEM_E_INVALID_SIZE
  7849. //
  7850. // MessageText:
  7851. //
  7852. //  The requested allocation size was too large
  7853. //
  7854. #define MEM_E_INVALID_SIZE               0x80080011L
  7855.  
  7856. // ******************
  7857. // FACILITY_DISPATCH
  7858. // ******************
  7859. //
  7860. // MessageId: DISP_E_UNKNOWNINTERFACE
  7861. //
  7862. // MessageText:
  7863. //
  7864. //  Unknown interface.
  7865. //
  7866. #define DISP_E_UNKNOWNINTERFACE          0x80020001L
  7867.  
  7868. //
  7869. // MessageId: DISP_E_MEMBERNOTFOUND
  7870. //
  7871. // MessageText:
  7872. //
  7873. //  Member not found.
  7874. //
  7875. #define DISP_E_MEMBERNOTFOUND            0x80020003L
  7876.  
  7877. //
  7878. // MessageId: DISP_E_PARAMNOTFOUND
  7879. //
  7880. // MessageText:
  7881. //
  7882. //  Parameter not found.
  7883. //
  7884. #define DISP_E_PARAMNOTFOUND             0x80020004L
  7885.  
  7886. //
  7887. // MessageId: DISP_E_TYPEMISMATCH
  7888. //
  7889. // MessageText:
  7890. //
  7891. //  Type mismatch.
  7892. //
  7893. #define DISP_E_TYPEMISMATCH              0x80020005L
  7894.  
  7895. //
  7896. // MessageId: DISP_E_UNKNOWNNAME
  7897. //
  7898. // MessageText:
  7899. //
  7900. //  Unknown name.
  7901. //
  7902. #define DISP_E_UNKNOWNNAME               0x80020006L
  7903.  
  7904. //
  7905. // MessageId: DISP_E_NONAMEDARGS
  7906. //
  7907. // MessageText:
  7908. //
  7909. //  No named arguments.
  7910. //
  7911. #define DISP_E_NONAMEDARGS               0x80020007L
  7912.  
  7913. //
  7914. // MessageId: DISP_E_BADVARTYPE
  7915. //
  7916. // MessageText:
  7917. //
  7918. //  Bad variable type.
  7919. //
  7920. #define DISP_E_BADVARTYPE                0x80020008L
  7921.  
  7922. //
  7923. // MessageId: DISP_E_EXCEPTION
  7924. //
  7925. // MessageText:
  7926. //
  7927. //  Exception occurred.
  7928. //
  7929. #define DISP_E_EXCEPTION                 0x80020009L
  7930.  
  7931. //
  7932. // MessageId: DISP_E_OVERFLOW
  7933. //
  7934. // MessageText:
  7935. //
  7936. //  Out of present range.
  7937. //
  7938. #define DISP_E_OVERFLOW                  0x8002000AL
  7939.  
  7940. //
  7941. // MessageId: DISP_E_BADINDEX
  7942. //
  7943. // MessageText:
  7944. //
  7945. //  Invalid index.
  7946. //
  7947. #define DISP_E_BADINDEX                  0x8002000BL
  7948.  
  7949. //
  7950. // MessageId: DISP_E_UNKNOWNLCID
  7951. //
  7952. // MessageText:
  7953. //
  7954. //  Unknown language.
  7955. //
  7956. #define DISP_E_UNKNOWNLCID               0x8002000CL
  7957.  
  7958. //
  7959. // MessageId: DISP_E_ARRAYISLOCKED
  7960. //
  7961. // MessageText:
  7962. //
  7963. //  Memory is locked.
  7964. //
  7965. #define DISP_E_ARRAYISLOCKED             0x8002000DL
  7966.  
  7967. //
  7968. // MessageId: DISP_E_BADPARAMCOUNT
  7969. //
  7970. // MessageText:
  7971. //
  7972. //  Invalid number of parameters.
  7973. //
  7974. #define DISP_E_BADPARAMCOUNT             0x8002000EL
  7975.  
  7976. //
  7977. // MessageId: DISP_E_PARAMNOTOPTIONAL
  7978. //
  7979. // MessageText:
  7980. //
  7981. //  Parameter not optional.
  7982. //
  7983. #define DISP_E_PARAMNOTOPTIONAL          0x8002000FL
  7984.  
  7985. //
  7986. // MessageId: DISP_E_BADCALLEE
  7987. //
  7988. // MessageText:
  7989. //
  7990. //  Invalid callee.
  7991. //
  7992. #define DISP_E_BADCALLEE                 0x80020010L
  7993.  
  7994. //
  7995. // MessageId: DISP_E_NOTACOLLECTION
  7996. //
  7997. // MessageText:
  7998. //
  7999. //  Does not support a collection.
  8000. //
  8001. #define DISP_E_NOTACOLLECTION            0x80020011L
  8002.  
  8003. //
  8004. // MessageId: TYPE_E_BUFFERTOOSMALL
  8005. //
  8006. // MessageText:
  8007. //
  8008. //  Buffer too small.
  8009. //
  8010. #define TYPE_E_BUFFERTOOSMALL            0x80028016L
  8011.  
  8012. //
  8013. // MessageId: TYPE_E_INVDATAREAD
  8014. //
  8015. // MessageText:
  8016. //
  8017. //  Old format or invalid type library.
  8018. //
  8019. #define TYPE_E_INVDATAREAD               0x80028018L
  8020.  
  8021. //
  8022. // MessageId: TYPE_E_UNSUPFORMAT
  8023. //
  8024. // MessageText:
  8025. //
  8026. //  Old format or invalid type library.
  8027. //
  8028. #define TYPE_E_UNSUPFORMAT               0x80028019L
  8029.  
  8030. //
  8031. // MessageId: TYPE_E_REGISTRYACCESS
  8032. //
  8033. // MessageText:
  8034. //
  8035. //  Error accessing the OLE registry.
  8036. //
  8037. #define TYPE_E_REGISTRYACCESS            0x8002801CL
  8038.  
  8039. //
  8040. // MessageId: TYPE_E_LIBNOTREGISTERED
  8041. //
  8042. // MessageText:
  8043. //
  8044. //  Library not registered.
  8045. //
  8046. #define TYPE_E_LIBNOTREGISTERED          0x8002801DL
  8047.  
  8048. //
  8049. // MessageId: TYPE_E_UNDEFINEDTYPE
  8050. //
  8051. // MessageText:
  8052. //
  8053. //  Bound to unknown type.
  8054. //
  8055. #define TYPE_E_UNDEFINEDTYPE             0x80028027L
  8056.  
  8057. //
  8058. // MessageId: TYPE_E_QUALIFIEDNAMEDISALLOWED
  8059. //
  8060. // MessageText:
  8061. //
  8062. //  Qualified name disallowed.
  8063. //
  8064. #define TYPE_E_QUALIFIEDNAMEDISALLOWED   0x80028028L
  8065.  
  8066. //
  8067. // MessageId: TYPE_E_INVALIDSTATE
  8068. //
  8069. // MessageText:
  8070. //
  8071. //  Invalid forward reference, or reference to uncompiled type.
  8072. //
  8073. #define TYPE_E_INVALIDSTATE              0x80028029L
  8074.  
  8075. //
  8076. // MessageId: TYPE_E_WRONGTYPEKIND
  8077. //
  8078. // MessageText:
  8079. //
  8080. //  Type mismatch.
  8081. //
  8082. #define TYPE_E_WRONGTYPEKIND             0x8002802AL
  8083.  
  8084. //
  8085. // MessageId: TYPE_E_ELEMENTNOTFOUND
  8086. //
  8087. // MessageText:
  8088. //
  8089. //  Element not found.
  8090. //
  8091. #define TYPE_E_ELEMENTNOTFOUND           0x8002802BL
  8092.  
  8093. //
  8094. // MessageId: TYPE_E_AMBIGUOUSNAME
  8095. //
  8096. // MessageText:
  8097. //
  8098. //  Ambiguous name.
  8099. //
  8100. #define TYPE_E_AMBIGUOUSNAME             0x8002802CL
  8101.  
  8102. //
  8103. // MessageId: TYPE_E_NAMECONFLICT
  8104. //
  8105. // MessageText:
  8106. //
  8107. //  Name already exists in the library.
  8108. //
  8109. #define TYPE_E_NAMECONFLICT              0x8002802DL
  8110.  
  8111. //
  8112. // MessageId: TYPE_E_UNKNOWNLCID
  8113. //
  8114. // MessageText:
  8115. //
  8116. //  Unknown LCID.
  8117. //
  8118. #define TYPE_E_UNKNOWNLCID               0x8002802EL
  8119.  
  8120. //
  8121. // MessageId: TYPE_E_DLLFUNCTIONNOTFOUND
  8122. //
  8123. // MessageText:
  8124. //
  8125. //  Function not defined in specified DLL.
  8126. //
  8127. #define TYPE_E_DLLFUNCTIONNOTFOUND       0x8002802FL
  8128.  
  8129. //
  8130. // MessageId: TYPE_E_BADMODULEKIND
  8131. //
  8132. // MessageText:
  8133. //
  8134. //  Wrong module kind for the operation.
  8135. //
  8136. #define TYPE_E_BADMODULEKIND             0x800288BDL
  8137.  
  8138. //
  8139. // MessageId: TYPE_E_SIZETOOBIG
  8140. //
  8141. // MessageText:
  8142. //
  8143. //  Size may not exceed 64K.
  8144. //
  8145. #define TYPE_E_SIZETOOBIG                0x800288C5L
  8146.  
  8147. //
  8148. // MessageId: TYPE_E_DUPLICATEID
  8149. //
  8150. // MessageText:
  8151. //
  8152. //  Duplicate ID in inheritance hierarchy.
  8153. //
  8154. #define TYPE_E_DUPLICATEID               0x800288C6L
  8155.  
  8156. //
  8157. // MessageId: TYPE_E_INVALIDID
  8158. //
  8159. // MessageText:
  8160. //
  8161. //  Incorrect inheritance depth in standard OLE hmember.
  8162. //
  8163. #define TYPE_E_INVALIDID                 0x800288CFL
  8164.  
  8165. //
  8166. // MessageId: TYPE_E_TYPEMISMATCH
  8167. //
  8168. // MessageText:
  8169. //
  8170. //  Type mismatch.
  8171. //
  8172. #define TYPE_E_TYPEMISMATCH              0x80028CA0L
  8173.  
  8174. //
  8175. // MessageId: TYPE_E_OUTOFBOUNDS
  8176. //
  8177. // MessageText:
  8178. //
  8179. //  Invalid number of arguments.
  8180. //
  8181. #define TYPE_E_OUTOFBOUNDS               0x80028CA1L
  8182.  
  8183. //
  8184. // MessageId: TYPE_E_IOERROR
  8185. //
  8186. // MessageText:
  8187. //
  8188. //  I/O Error.
  8189. //
  8190. #define TYPE_E_IOERROR                   0x80028CA2L
  8191.  
  8192. //
  8193. // MessageId: TYPE_E_CANTCREATETMPFILE
  8194. //
  8195. // MessageText:
  8196. //
  8197. //  Error creating unique tmp file.
  8198. //
  8199. #define TYPE_E_CANTCREATETMPFILE         0x80028CA3L
  8200.  
  8201. //
  8202. // MessageId: TYPE_E_CANTLOADLIBRARY
  8203. //
  8204. // MessageText:
  8205. //
  8206. //  Error loading type library/DLL.
  8207. //
  8208. #define TYPE_E_CANTLOADLIBRARY           0x80029C4AL
  8209.  
  8210. //
  8211. // MessageId: TYPE_E_INCONSISTENTPROPFUNCS
  8212. //
  8213. // MessageText:
  8214. //
  8215. //  Inconsistent property functions.
  8216. //
  8217. #define TYPE_E_INCONSISTENTPROPFUNCS     0x80029C83L
  8218.  
  8219. //
  8220. // MessageId: TYPE_E_CIRCULARTYPE
  8221. //
  8222. // MessageText:
  8223. //
  8224. //  Circular dependency between types/modules.
  8225. //
  8226. #define TYPE_E_CIRCULARTYPE              0x80029C84L
  8227.  
  8228. // ******************
  8229. // FACILITY_STORAGE
  8230. // ******************
  8231. //
  8232. // MessageId: STG_E_INVALIDFUNCTION
  8233. //
  8234. // MessageText:
  8235. //
  8236. //  Unable to perform requested operation.
  8237. //
  8238. #define STG_E_INVALIDFUNCTION            0x80030001L
  8239.  
  8240. //
  8241. // MessageId: STG_E_FILENOTFOUND
  8242. //
  8243. // MessageText:
  8244. //
  8245. //  %1 could not be found.
  8246. //
  8247. #define STG_E_FILENOTFOUND               0x80030002L
  8248.  
  8249. //
  8250. // MessageId: STG_E_PATHNOTFOUND
  8251. //
  8252. // MessageText:
  8253. //
  8254. //  The path %1 could not be found.
  8255. //
  8256. #define STG_E_PATHNOTFOUND               0x80030003L
  8257.  
  8258. //
  8259. // MessageId: STG_E_TOOMANYOPENFILES
  8260. //
  8261. // MessageText:
  8262. //
  8263. //  There are insufficient resources to open another file.
  8264. //
  8265. #define STG_E_TOOMANYOPENFILES           0x80030004L
  8266.  
  8267. //
  8268. // MessageId: STG_E_ACCESSDENIED
  8269. //
  8270. // MessageText:
  8271. //
  8272. //  Access Denied.
  8273. //
  8274. #define STG_E_ACCESSDENIED               0x80030005L
  8275.  
  8276. //
  8277. // MessageId: STG_E_INVALIDHANDLE
  8278. //
  8279. // MessageText:
  8280. //
  8281. //  Attempted an operation on an invalid object.
  8282. //
  8283. #define STG_E_INVALIDHANDLE              0x80030006L
  8284.  
  8285. //
  8286. // MessageId: STG_E_INSUFFICIENTMEMORY
  8287. //
  8288. // MessageText:
  8289. //
  8290. //  There is insufficient memory available to complete operation.
  8291. //
  8292. #define STG_E_INSUFFICIENTMEMORY         0x80030008L
  8293.  
  8294. //
  8295. // MessageId: STG_E_INVALIDPOINTER
  8296. //
  8297. // MessageText:
  8298. //
  8299. //  Invalid pointer error.
  8300. //
  8301. #define STG_E_INVALIDPOINTER             0x80030009L
  8302.  
  8303. //
  8304. // MessageId: STG_E_NOMOREFILES
  8305. //
  8306. // MessageText:
  8307. //
  8308. //  There are no more entries to return.
  8309. //
  8310. #define STG_E_NOMOREFILES                0x80030012L
  8311.  
  8312. //
  8313. // MessageId: STG_E_DISKISWRITEPROTECTED
  8314. //
  8315. // MessageText:
  8316. //
  8317. //  Disk is write-protected.
  8318. //
  8319. #define STG_E_DISKISWRITEPROTECTED       0x80030013L
  8320.  
  8321. //
  8322. // MessageId: STG_E_SEEKERROR
  8323. //
  8324. // MessageText:
  8325. //
  8326. //  An error occurred during a seek operation.
  8327. //
  8328. #define STG_E_SEEKERROR                  0x80030019L
  8329.  
  8330. //
  8331. // MessageId: STG_E_WRITEFAULT
  8332. //
  8333. // MessageText:
  8334. //
  8335. //  A disk error occurred during a write operation.
  8336. //
  8337. #define STG_E_WRITEFAULT                 0x8003001DL
  8338.  
  8339. //
  8340. // MessageId: STG_E_READFAULT
  8341. //
  8342. // MessageText:
  8343. //
  8344. //  A disk error occurred during a read operation.
  8345. //
  8346. #define STG_E_READFAULT                  0x8003001EL
  8347.  
  8348. //
  8349. // MessageId: STG_E_SHAREVIOLATION
  8350. //
  8351. // MessageText:
  8352. //
  8353. //  A share violation has occurred.
  8354. //
  8355. #define STG_E_SHAREVIOLATION             0x80030020L
  8356.  
  8357. //
  8358. // MessageId: STG_E_LOCKVIOLATION
  8359. //
  8360. // MessageText:
  8361. //
  8362. //  A lock violation has occurred.
  8363. //
  8364. #define STG_E_LOCKVIOLATION              0x80030021L
  8365.  
  8366. //
  8367. // MessageId: STG_E_FILEALREADYEXISTS
  8368. //
  8369. // MessageText:
  8370. //
  8371. //  %1 already exists.
  8372. //
  8373. #define STG_E_FILEALREADYEXISTS          0x80030050L
  8374.  
  8375. //
  8376. // MessageId: STG_E_INVALIDPARAMETER
  8377. //
  8378. // MessageText:
  8379. //
  8380. //  Invalid parameter error.
  8381. //
  8382. #define STG_E_INVALIDPARAMETER           0x80030057L
  8383.  
  8384. //
  8385. // MessageId: STG_E_MEDIUMFULL
  8386. //
  8387. // MessageText:
  8388. //
  8389. //  There is insufficient disk space to complete operation.
  8390. //
  8391. #define STG_E_MEDIUMFULL                 0x80030070L
  8392.  
  8393. //
  8394. // MessageId: STG_E_ABNORMALAPIEXIT
  8395. //
  8396. // MessageText:
  8397. //
  8398. //  An API call exited abnormally.
  8399. //
  8400. #define STG_E_ABNORMALAPIEXIT            0x800300FAL
  8401.  
  8402. //
  8403. // MessageId: STG_E_INVALIDHEADER
  8404. //
  8405. // MessageText:
  8406. //
  8407. //  The file %1 is not a valid compound file.
  8408. //
  8409. #define STG_E_INVALIDHEADER              0x800300FBL
  8410.  
  8411. //
  8412. // MessageId: STG_E_INVALIDNAME
  8413. //
  8414. // MessageText:
  8415. //
  8416. //  The name %1 is not valid.
  8417. //
  8418. #define STG_E_INVALIDNAME                0x800300FCL
  8419.  
  8420. //
  8421. // MessageId: STG_E_UNKNOWN
  8422. //
  8423. // MessageText:
  8424. //
  8425. //  An unexpected error occurred.
  8426. //
  8427. #define STG_E_UNKNOWN                    0x800300FDL
  8428.  
  8429. //
  8430. // MessageId: STG_E_UNIMPLEMENTEDFUNCTION
  8431. //
  8432. // MessageText:
  8433. //
  8434. //  That function is not implemented.
  8435. //
  8436. #define STG_E_UNIMPLEMENTEDFUNCTION      0x800300FEL
  8437.  
  8438. //
  8439. // MessageId: STG_E_INVALIDFLAG
  8440. //
  8441. // MessageText:
  8442. //
  8443. //  Invalid flag error.
  8444. //
  8445. #define STG_E_INVALIDFLAG                0x800300FFL
  8446.  
  8447. //
  8448. // MessageId: STG_E_INUSE
  8449. //
  8450. // MessageText:
  8451. //
  8452. //  Attempted to use an object that is busy.
  8453. //
  8454. #define STG_E_INUSE                      0x80030100L
  8455.  
  8456. //
  8457. // MessageId: STG_E_NOTCURRENT
  8458. //
  8459. // MessageText:
  8460. //
  8461. //  The storage has been changed since the last commit.
  8462. //
  8463. #define STG_E_NOTCURRENT                 0x80030101L
  8464.  
  8465. //
  8466. // MessageId: STG_E_REVERTED
  8467. //
  8468. // MessageText:
  8469. //
  8470. //  Attempted to use an object that has ceased to exist.
  8471. //
  8472. #define STG_E_REVERTED                   0x80030102L
  8473.  
  8474. //
  8475. // MessageId: STG_E_CANTSAVE
  8476. //
  8477. // MessageText:
  8478. //
  8479. //  Can't save.
  8480. //
  8481. #define STG_E_CANTSAVE                   0x80030103L
  8482.  
  8483. //
  8484. // MessageId: STG_E_OLDFORMAT
  8485. //
  8486. // MessageText:
  8487. //
  8488. //  The compound file %1 was produced with an incompatible version of storage.
  8489. //
  8490. #define STG_E_OLDFORMAT                  0x80030104L
  8491.  
  8492. //
  8493. // MessageId: STG_E_OLDDLL
  8494. //
  8495. // MessageText:
  8496. //
  8497. //  The compound file %1 was produced with a newer version of storage.
  8498. //
  8499. #define STG_E_OLDDLL                     0x80030105L
  8500.  
  8501. //
  8502. // MessageId: STG_E_SHAREREQUIRED
  8503. //
  8504. // MessageText:
  8505. //
  8506. //  Share.exe or equivalent is required for operation.
  8507. //
  8508. #define STG_E_SHAREREQUIRED              0x80030106L
  8509.  
  8510. //
  8511. // MessageId: STG_E_NOTFILEBASEDSTORAGE
  8512. //
  8513. // MessageText:
  8514. //
  8515. //  Illegal operation called on non-file based storage.
  8516. //
  8517. #define STG_E_NOTFILEBASEDSTORAGE        0x80030107L
  8518.  
  8519. //
  8520. // MessageId: STG_E_EXTANTMARSHALLINGS
  8521. //
  8522. // MessageText:
  8523. //
  8524. //  Illegal operation called on object with extant marshallings.
  8525. //
  8526. #define STG_E_EXTANTMARSHALLINGS         0x80030108L
  8527.  
  8528. //
  8529. // MessageId: STG_S_CONVERTED
  8530. //
  8531. // MessageText:
  8532. //
  8533. //  The underlying file was converted to compound file format.
  8534. //
  8535. #define STG_S_CONVERTED                  0x00030200L
  8536.  
  8537. // ******************
  8538. // FACILITY_RPC
  8539. // ******************
  8540. //
  8541. // Codes 0x0-0x11 are propogated from 16 bit OLE.
  8542. //
  8543. //
  8544. // MessageId: RPC_E_CALL_REJECTED
  8545. //
  8546. // MessageText:
  8547. //
  8548. //  Call was rejected by callee.
  8549. //
  8550. #define RPC_E_CALL_REJECTED              0x80010001L
  8551.  
  8552. //
  8553. // MessageId: RPC_E_CALL_CANCELED
  8554. //
  8555. // MessageText:
  8556. //
  8557. //  Call was canceled by the message filter.
  8558. //
  8559. #define RPC_E_CALL_CANCELED              0x80010002L
  8560.  
  8561. //
  8562. // MessageId: RPC_E_CANTPOST_INSENDCALL
  8563. //
  8564. // MessageText:
  8565. //
  8566. //  The caller is dispatching an intertask SendMessage call and
  8567. //  cannot call out via PostMessage.
  8568. //
  8569. #define RPC_E_CANTPOST_INSENDCALL        0x80010003L
  8570.  
  8571. //
  8572. // MessageId: RPC_E_CANTCALLOUT_INASYNCCALL
  8573. //
  8574. // MessageText:
  8575. //
  8576. //  The caller is dispatching an asynchronous call and cannot
  8577. //  make an outgoing call on behalf of this call.
  8578. //
  8579. #define RPC_E_CANTCALLOUT_INASYNCCALL    0x80010004L
  8580.  
  8581. //
  8582. // MessageId: RPC_E_CANTCALLOUT_INEXTERNALCALL
  8583. //
  8584. // MessageText:
  8585. //
  8586. //  It is illegal to call out while inside message filter.
  8587. //
  8588. #define RPC_E_CANTCALLOUT_INEXTERNALCALL 0x80010005L
  8589.  
  8590. //
  8591. // MessageId: RPC_E_CONNECTION_TERMINATED
  8592. //
  8593. // MessageText:
  8594. //
  8595. //  The connection terminated or is in a bogus state
  8596. //  and cannot be used any more. Other connections
  8597. //  are still valid.
  8598. //
  8599. #define RPC_E_CONNECTION_TERMINATED      0x80010006L
  8600.  
  8601. //
  8602. // MessageId: RPC_E_SERVER_DIED
  8603. //
  8604. // MessageText:
  8605. //
  8606. //  The callee (server [not server application]) is not available
  8607. //  and disappeared; all connections are invalid.  The call may
  8608. //  have executed.
  8609. //
  8610. #define RPC_E_SERVER_DIED                0x80010007L
  8611.  
  8612. //
  8613. // MessageId: RPC_E_CLIENT_DIED
  8614. //
  8615. // MessageText:
  8616. //
  8617. //  The caller (client) disappeared while the callee (server) was
  8618. //  processing a call.
  8619. //
  8620. #define RPC_E_CLIENT_DIED                0x80010008L
  8621.  
  8622. //
  8623. // MessageId: RPC_E_INVALID_DATAPACKET
  8624. //
  8625. // MessageText:
  8626. //
  8627. //  The data packet with the marshalled parameter data is incorrect.
  8628. //
  8629. #define RPC_E_INVALID_DATAPACKET         0x80010009L
  8630.  
  8631. //
  8632. // MessageId: RPC_E_CANTTRANSMIT_CALL
  8633. //
  8634. // MessageText:
  8635. //
  8636. //  The call was not transmitted properly; the message queue
  8637. //  was full and was not emptied after yielding.
  8638. //
  8639. #define RPC_E_CANTTRANSMIT_CALL          0x8001000AL
  8640.  
  8641. //
  8642. // MessageId: RPC_E_CLIENT_CANTMARSHAL_DATA
  8643. //
  8644. // MessageText:
  8645. //
  8646. //  The client (caller) cannot marshall the parameter data - low memory, etc.
  8647. //
  8648. #define RPC_E_CLIENT_CANTMARSHAL_DATA    0x8001000BL
  8649.  
  8650. //
  8651. // MessageId: RPC_E_CLIENT_CANTUNMARSHAL_DATA
  8652. //
  8653. // MessageText:
  8654. //
  8655. //  The client (caller) cannot unmarshall the return data - low memory, etc.
  8656. //
  8657. #define RPC_E_CLIENT_CANTUNMARSHAL_DATA  0x8001000CL
  8658.  
  8659. //
  8660. // MessageId: RPC_E_SERVER_CANTMARSHAL_DATA
  8661. //
  8662. // MessageText:
  8663. //
  8664. //  The server (callee) cannot marshall the return data - low memory, etc.
  8665. //
  8666. #define RPC_E_SERVER_CANTMARSHAL_DATA    0x8001000DL
  8667.  
  8668. //
  8669. // MessageId: RPC_E_SERVER_CANTUNMARSHAL_DATA
  8670. //
  8671. // MessageText:
  8672. //
  8673. //  The server (callee) cannot unmarshall the parameter data - low memory, etc.
  8674. //
  8675. #define RPC_E_SERVER_CANTUNMARSHAL_DATA  0x8001000EL
  8676.  
  8677. //
  8678. // MessageId: RPC_E_INVALID_DATA
  8679. //
  8680. // MessageText:
  8681. //
  8682. //  Received data is invalid; could be server or client data.
  8683. //
  8684. #define RPC_E_INVALID_DATA               0x8001000FL
  8685.  
  8686. //
  8687. // MessageId: RPC_E_INVALID_PARAMETER
  8688. //
  8689. // MessageText:
  8690. //
  8691. //  A particular parameter is invalid and cannot be (un)marshalled.
  8692. //
  8693. #define RPC_E_INVALID_PARAMETER          0x80010010L
  8694.  
  8695. //
  8696. // MessageId: RPC_E_CANTCALLOUT_AGAIN
  8697. //
  8698. // MessageText:
  8699. //
  8700. //  There is no second outgoing call on same channel in DDE conversation.
  8701. //
  8702. #define RPC_E_CANTCALLOUT_AGAIN          0x80010011L
  8703.  
  8704. //
  8705. // MessageId: RPC_E_SERVER_DIED_DNE
  8706. //
  8707. // MessageText:
  8708. //
  8709. //  The callee (server [not server application]) is not available
  8710. //  and disappeared; all connections are invalid.  The call did not execute.
  8711. //
  8712. #define RPC_E_SERVER_DIED_DNE            0x80010012L
  8713.  
  8714. //
  8715. // MessageId: RPC_E_SYS_CALL_FAILED
  8716. //
  8717. // MessageText:
  8718. //
  8719. //  System call failed.
  8720. //
  8721. #define RPC_E_SYS_CALL_FAILED            0x80010100L
  8722.  
  8723. //
  8724. // MessageId: RPC_E_OUT_OF_RESOURCES
  8725. //
  8726. // MessageText:
  8727. //
  8728. //  Could not allocate some required resource (memory, events, ...)
  8729. //
  8730. #define RPC_E_OUT_OF_RESOURCES           0x80010101L
  8731.  
  8732. //
  8733. // MessageId: RPC_E_ATTEMPTED_MULTITHREAD
  8734. //
  8735. // MessageText:
  8736. //
  8737. //  Attempted to make calls on more than one thread in single threaded mode.
  8738. //
  8739. #define RPC_E_ATTEMPTED_MULTITHREAD      0x80010102L
  8740.  
  8741. //
  8742. // MessageId: RPC_E_NOT_REGISTERED
  8743. //
  8744. // MessageText:
  8745. //
  8746. //  The requested interface is not registered on the server object.
  8747. //
  8748. #define RPC_E_NOT_REGISTERED             0x80010103L
  8749.  
  8750. //
  8751. // MessageId: RPC_E_FAULT
  8752. //
  8753. // MessageText:
  8754. //
  8755. //  RPC could not call the server or could not return the results of calling the server.
  8756. //
  8757. #define RPC_E_FAULT                      0x80010104L
  8758.  
  8759. //
  8760. // MessageId: RPC_E_SERVERFAULT
  8761. //
  8762. // MessageText:
  8763. //
  8764. //  The server threw an exception.
  8765. //
  8766. #define RPC_E_SERVERFAULT                0x80010105L
  8767.  
  8768. //
  8769. // MessageId: RPC_E_CHANGED_MODE
  8770. //
  8771. // MessageText:
  8772. //
  8773. //  Cannot change thread mode after it is set.
  8774. //
  8775. #define RPC_E_CHANGED_MODE               0x80010106L
  8776.  
  8777. //
  8778. // MessageId: RPC_E_INVALIDMETHOD
  8779. //
  8780. // MessageText:
  8781. //
  8782. //  The method called does not exist on the server.
  8783. //
  8784. #define RPC_E_INVALIDMETHOD              0x80010107L
  8785.  
  8786. //
  8787. // MessageId: RPC_E_DISCONNECTED
  8788. //
  8789. // MessageText:
  8790. //
  8791. //  The object invoked has disconnected from its clients.
  8792. //
  8793. #define RPC_E_DISCONNECTED               0x80010108L
  8794.  
  8795. //
  8796. // MessageId: RPC_E_RETRY
  8797. //
  8798. // MessageText:
  8799. //
  8800. //  The object invoked chose not to process the call now.  Try again later.
  8801. //
  8802. #define RPC_E_RETRY                      0x80010109L
  8803.  
  8804. //
  8805. // MessageId: RPC_E_SERVERCALL_RETRYLATER
  8806. //
  8807. // MessageText:
  8808. //
  8809. //  The message filter indicated that the application is busy.
  8810. //
  8811. #define RPC_E_SERVERCALL_RETRYLATER      0x8001010AL
  8812.  
  8813. //
  8814. // MessageId: RPC_E_SERVERCALL_REJECTED
  8815. //
  8816. // MessageText:
  8817. //
  8818. //  The message filter rejected the call.
  8819. //
  8820. #define RPC_E_SERVERCALL_REJECTED        0x8001010BL
  8821.  
  8822. //
  8823. // MessageId: RPC_E_INVALID_CALLDATA
  8824. //
  8825. // MessageText:
  8826. //
  8827. //  A call control interfaces was called with invalid data.
  8828. //
  8829. #define RPC_E_INVALID_CALLDATA           0x8001010CL
  8830.  
  8831. //
  8832. // MessageId: RPC_E_CANTCALLOUT_ININPUTSYNCCALL
  8833. //
  8834. // MessageText:
  8835. //
  8836. //  An outgoing call cannot be made since the application is dispatching an input-synchronous call.
  8837. //
  8838. #define RPC_E_CANTCALLOUT_ININPUTSYNCCALL 0x8001010DL
  8839.  
  8840. //
  8841. // MessageId: RPC_E_WRONG_THREAD
  8842. //
  8843. // MessageText:
  8844. //
  8845. //  The application called an interface that was marshalled for a different thread.
  8846. //
  8847. #define RPC_E_WRONG_THREAD               0x8001010EL
  8848.  
  8849. //
  8850. // MessageId: RPC_E_THREAD_NOT_INIT
  8851. //
  8852. // MessageText:
  8853. //
  8854. //  CoInitialize has not been called on the current thread.
  8855. //
  8856. #define RPC_E_THREAD_NOT_INIT            0x8001010FL
  8857.  
  8858. //
  8859. // MessageId: RPC_E_UNEXPECTED
  8860. //
  8861. // MessageText:
  8862. //
  8863. //  An internal error occurred.
  8864. //
  8865. #define RPC_E_UNEXPECTED                 0x8001FFFFL
  8866.  
  8867. #endif // _WINERROR_
  8868.